[<-.FlexTable
From ReporteRs v0.5
by David Gohel
Format FlexTable content
Format content of a FlexTable object
Usage
# S3 method for FlexTable
[ (x, i, j) <- value
Arguments
- x
the
FlexTable
object- i
vector (integer index, row.names values or boolean vector) for rows.
- j
vector (integer index, col.names values or boolean vector) for columns.
- value
an object of class
cellProperties
or an object of classparProperties
or an object of classtextProperties
.
See Also
Examples
# NOT RUN {
data( data_ReporteRs )
myFlexTable = FlexTable( data = data_ReporteRs
, span.columns = "col1"
, header.columns = TRUE
, row.names = FALSE )
myFlexTable[ 1:2, 2:3] = textProperties( color="red" )
myFlexTable[ 3:4, 4:5] = parProperties( text.align="right" )
myFlexTable[ 1:2, 5:6] = cellProperties( background.color="#F2969F")
# }
Community examples
Looks like there are no examples yet.