setColumnsColors

0th

Percentile

applies background colors to columns of a FlexTable

applies background colors to columns of a FlexTable

Usage
setColumnsColors(object, j, colors)
Arguments
object

a FlexTable object

j

vector (integer index, col.names values or boolean vector) for columns selection.

colors

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

See Also

setRowsColors, FlexTable, setZebraStyle

Aliases
  • setColumnsColors
Examples
# NOT RUN {
#START_TAG_TEST
# Create a FlexTable object with first 10 lines of data.frame mtcars
# add row.names as first column
MyFTable = FlexTable( data = mtcars[1:10, ]
  , add.rownames=TRUE
)
MyFTable = setColumnsColors( MyFTable, j=3:4, colors = "red" )
#STOP_TAG_TEST
# }
Documentation reproduced from package ReporteRs, version 0.6.9, License: GPL-3

Community examples

Looks like there are no examples yet.