chprop.FlexTable
From ReporteRs v0.8.8
by David Gohel
format FlexTable
Format a FlexTable object.
Usage
# S3 method for FlexTable
chprop(object, value, i, j, to = "body", side = "top",
...)
Arguments
- object
the
FlexTable
object- value
a formatting properties object (
textProperties
,parProperties
,borderProperties
,cellProperties
)- i
vector (integer index, row.names values or boolean vector) for rows selection.
- j
vector (integer index, col.names values or boolean vector) for columns selection.
- to
specify on which part of the FlexTable to apply the
value
, must be one of the following values “body” (default) or “header” or “footer”- side
used only when value is a
borderProperties
, specify on which side to apply the properties. It must be one of “bottom”, “top”, “left”, “right”.- ...
unused
Examples
# NOT RUN {
my_ft <- vanilla.table( head( iris, n = 5 ) )
my_ft <- chprop( my_ft, textBoldItalic(), i = 1, to = "header" )
my_ft <- chprop( my_ft, parCenter(), j = 5 )
my_ft <- chprop( my_ft, borderSolid(color = "red"), i = 5, side = "bottom" )
# }
Community examples
Looks like there are no examples yet.