View source: R/spanning_headers.R
spanning_headers | R Documentation |
This will create the list object to be passed to gentlg()
You can create as
many spanning headers as you like, just add variables prefixed with span to
the column metadata.
spanning_headers(column_metadata)
column_metadata |
dataframe containing the column metadata that is
passed to |
List of character vectors containing column headers for an output.
column_metadata <-
tibble::tribble(
~tbltype, ~coldef, ~decode, ~span1,
"type1", "0", "Placebo", "",
"type1", "54", "Low Dose", "Xanomeline",
"type1", "81", "High Dose", "Xanomeline",
"type1", "54+81", "Total Xanomeline", ""
)
spanning_headers(column_metadata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.