powered by
applies background colors to columns of a FlexTable
setColumnsColors(object, j, colors)
a FlexTable object
FlexTable
vector (integer index, col.names values or boolean vector) for columns selection.
background colors to apply (e.g. "#000000" or "black")
setRowsColors, FlexTable, setZebraStyle
setRowsColors
setZebraStyle
# NOT RUN { MyFTable <- FlexTable( data = mtcars[1:10, ], add.rownames=TRUE ) MyFTable <- setColumnsColors( MyFTable, j=3:4, colors = "red" ) # }
Run the code above in your browser using DataLab