ReporteRs (version 0.7.9)

[<-.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 {
#
## 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")  )
# }

Run the code above in your browser using DataCamp Workspace