
Create a representation of a row that can be inserted in a FlexTable.
FlexRow(values, colspan, text.properties = textProperties(),
par.properties = parProperties(), cell.properties = cellProperties())
Optional. a character vector to use as text
content, the row will contain as many cells as there are
in values
.
Optional. textProperties to apply to each cell. Used only if values are not missing.
Optional. parProperties to apply to each cell. Used only if values are not missing.
Optional. cellProperties to apply to each cell. Used only if values are not missing.
integer Optional. vector specifying for
each element the number of columns to span for each
corresponding value (in values
).
FlexTable
, addFlexTable
,
alterFlexRow
, addHeaderRow
,
addFooterRow
# NOT RUN {
#START_TAG_TEST
## example with characters
headerRow = FlexRow( c("Column 1", "Column 2")
, cell.properties = cellProperties(background.color="#527578") )
## 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 DataLab