ReporteRs (version 0.2)

[<-.FlexTable: Format FlexTable content

Description

Format content of a FlexTable object

Usage

# S3 method for FlexTable
[ (x, i, j) <- value

Arguments

x

the FlexTable object

i

vector integer index for rows.

j

vector integer index for columns.

value

an object of class cellProperties or an object of class parProperties or an object of class textProperties.

See Also

addFlexTable

Examples

Run this code
# 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[ 4:5, 4:5] = parProperties( text.align="right" )
myFlexTable[ 1:2, 5:6] = cellProperties( background.color="#F2969F")
# }

Run the code above in your browser using DataLab