setFlexCellContent

0th

Percentile

Replace FlexTable content

Replace cells contents of a FlexTable object with one or more paragraph of texts.

Usage
setFlexCellContent(object, i, j, value)
Arguments
object

a 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

a pot or a set_of_paragraphs object to insert as new cell content.

See Also

addFlexTable

Aliases
  • setFlexCellContent
Examples
# NOT RUN {
data( data_ReporteRs )
myFlexTable = FlexTable( data = data_ReporteRs
	, span.columns = "col1"
, header.columns = TRUE
, row.names = FALSE )
myFlexTable = setFlexCellContent( myFlexTable
, i = 1, j = 1
, pot("Hello World", format = textProperties( color="red" ) )
)
# }
Documentation reproduced from package ReporteRs, version 0.5, License: GPL-3

Community examples

Looks like there are no examples yet.