View source: R/as_flextable.crosstable.R
as_flextable.crosstable | R Documentation |
Uses flextable to print the table in html or Latex
## S3 method for class 'crosstable' as_flextable(x)
x |
A crosstable object |
library(flextable) library(magrittr) crosstable(Titanic, col.vars=c("Sex", "Survived"), stats=c("count", "column")) %>% as_flextable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.