as_flextable.crosstable: Uses flextable to print the table in html or Latex

View source: R/as_flextable.crosstable.R

as_flextable.crosstableR Documentation

Uses flextable to print the table in html or Latex

Description

Uses flextable to print the table in html or Latex

Usage

## S3 method for class 'crosstable'
as_flextable(x)

Arguments

x

A crosstable object

Examples

library(flextable)
library(magrittr)

crosstable(Titanic, col.vars=c("Sex", "Survived"), stats=c("count", "column")) %>%
  as_flextable


andresnecochea/multitabulation documentation built on June 15, 2022, 5:55 a.m.