
Last chance! 50% off unlimited learning
Sale ends in
Create a header
rheader(..., format = "xx", .lst = NULL)
a InstantiatedColumnInfo
object.
row specifications (either as character vectors or the output from rrow
or DataRow
, LabelRow
, etc.
if FUN
does not return a formatted rcell
then the format
is applied
list. An already-collected list of arguments tot be used instead of the elements of ...
. Arguments passed via ...
will be ignored if this is specified.
Other compatability:
rrowl()
,
rrow()
,
rtable()
h1 <- rheader(c("A", "B", "C"))
h2 <- rheader(
rrow(NULL, rcell("group 1", colspan = 2), rcell("group 2", colspan = 2)),
rrow(NULL, "A", "B", "A", "B")
)
h1
h2
Run the code above in your browser using DataLab