ReporteRs (version 0.5.6)

[<-.FlexRow: modify FlexRow content

Description

add or replace FlexCell into a FlexRow object

Usage

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

Arguments

x

the FlexRow object

i

a single integer value.

value

an object of class FlexCell

See Also

FlexTable, addFlexTable, FlexRow , addHeaderRow, addFooterRow

Examples

Run this code
# NOT RUN {
#START_TAG_TEST
## example with FlexCell
headerRow = FlexRow()
headerRow[1] = FlexCell( "Column 1"
  , cell.properties = cellProperties(background.color="#527578")  )
headerRow[2] = FlexCell( "Column 2"
  , cell.properties = cellProperties(background.color="#527578")  )
#STOP_TAG_TEST
# }

Run the code above in your browser using DataCamp Workspace