applies background colors to rows of a FlexTable
setRowsColors(object, i, colors)
object | a |
---|---|
i | vector (integer index, row.names values or boolean vector) for rows selection. |
colors | background colors to apply (e.g. "#000000" or "black") |
FlexTable
, setColumnsColors
, setZebraStyle
MyFTable <- FlexTable( data = mtcars[1:10, ], add.rownames=TRUE ) MyFTable <- setRowsColors( MyFTable, i=1:4, colors = "red" )