I have created a grid.table
object to display a dataframe in PowerBi, below there is my code:
library(reshape)
library(gridExtra)
library(grid)
mydf <- data.frame(id = c(1:5), value = c("A","B","C","D","E"))
mytheme <- ttheme_default(base_size = 10,
core=list(fg_params=list(hjust=0, x=0.01),
bg_params=list(fill=c("white", "lightgrey"))))
grid.table(mydf,cols = NULL, theme = mytheme, rows = NULL)
and this is my output:
I would like to style the font of the output so that only the first column has the font in bold, does anyone knows how to achive this?
Thanks