Description Usage Arguments See Also Examples
applies background colors to columns of a FlexTable
1 | setColumnsColors(object, j, colors)
|
object |
a |
j |
vector (integer index, col.names values or boolean vector) for columns selection. |
colors |
background colors to apply (e.g. "#000000" or "black") |
setRowsColors
, FlexTable
, setZebraStyle
1 2 3 4 | if( check_valid_java_version() ){
MyFTable <- FlexTable( data = mtcars[1:10, ], add.rownames=TRUE )
MyFTable <- setColumnsColors( MyFTable, j=3:4, colors = "red" )
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.