View source: R/compact_summary.R
| as_flextable.compact_summary | R Documentation |
compact_summary objects can be transformed into
a flextable with method as_flextable().
Numeric columns are formatted with formatC() using the
digits value stored in the object and the current
flextable defaults for big.mark and decimal.mark.
## S3 method for class 'compact_summary'
as_flextable(x, ...)
x |
A |
... |
unused arguments. |
A flextable() object.
Other as_flextable methods:
as_flextable.data.frame(),
as_flextable.gam(),
as_flextable.glm(),
as_flextable.grouped_data(),
as_flextable.htest(),
as_flextable.kmeans(),
as_flextable.lm(),
as_flextable.merMod(),
as_flextable.pam(),
as_flextable.summarizor(),
as_flextable.table(),
as_flextable.tabular(),
as_flextable.tabulator(),
as_flextable.xtable(),
compact_summary()
z <- compact_summary(iris, show_type = TRUE, show_na = TRUE)
as_flextable(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.