as_sstable | R Documentation |
A function to coerce objects to a sstable
as_sstable(x, ...)
## Default S3 method:
as_sstable(x, flextable = FALSE, ...)
## S3 method for class 'list'
as_sstable(x, flextable = FALSE, ...)
## S3 method for class 'logist_summary'
as_sstable(x, include_footnote = TRUE, flextable = FALSE, ...)
## S3 method for class 'overlap_summary'
as_sstable(x, include_footnote = TRUE, flextable = FALSE, ...)
## S3 method for class 'subgroup_logist_summary'
as_sstable(x, include_footnote = TRUE, flextable = FALSE, ...)
x |
An object, usually a named list of length 2 whose names are 'table' and 'footer', or a data.frame/matrix (optionally with attribute "footer") |
... |
additional parameters passed to ss_flextable |
flextable |
logical value specifying whether to return a flextable. Default is FALSE |
include_footnote |
logical value specifying whether to include footnote in the output. Default is FALSE |
include_footsnote |
logical value specifying whether to include footnote in the output. Default is FALSE |
A matrix of class ss_tbl if flextable == FALSE, otherwise a flextable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.