setRowsColors

0th

Percentile

applies background colors to rows of a FlexTable

applies background colors to rows of a FlexTable

Usage
setRowsColors(object, i, colors)
Arguments
object

a FlexTable object

i

vector (integer index, row.names values or boolean vector) for rows selection.

colors

background colors to apply (e.g. "#000000" or "black")

See Also

FlexTable, setColumnsColors, setZebraStyle

Aliases
  • setRowsColors
Examples
# NOT RUN {
MyFTable <- FlexTable( data = mtcars[1:10, ], add.rownames=TRUE )
MyFTable <- setRowsColors( MyFTable, i=1:4, colors = "red" )
# }
Documentation reproduced from package ReporteRs, version 0.8.10, License: GPL-3

Community examples

Looks like there are no examples yet.