ss_format | R Documentation |
This function is the combination of ss_header, ss_body, and ss_section.
ss_format(
sstable,
header = c(),
section = c(),
body = c(),
template = c("baseline", "survcomp", "ae"),
.guess = TRUE
)
sstable |
a data frame following sstable's grammar |
header |
a numeric vector that will be passed to ss_header |
section |
a numeric vector that will be passed to ss_section |
body |
a numeric vector that will be passed to ss_body |
template |
An accepted template for sstable: must be either 'baseline', 'survcomp', or 'ae'. If NA, the existing template in the sstable is kept as-is. It no template built-in, will return a no-template sstable instead. |
.guess |
a logical value. If TRUE, the function will try to guess to which part each row belongs. |
a matrix of class ss_tbl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.