View source: R/tt_compatibility.R
rheader | R Documentation |
Create a header
rheader(..., format = "xx", .lst = NULL)
... |
row specifications (either as character vectors or the output
from |
format |
character(1) or function. The format label (string) or
formatter function to apply to the cell values passed via |
.lst |
list. An already-collected list of arguments to be used instead
of the elements of |
a InstantiatedColumnInfo
object.
Other compatibility:
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.