powered by
Pivot a crosstable so the variable column is spread across its values.
variable
pivot_crosstable(ct)
a tibble of class pivoted_crosstable
pivoted_crosstable
a crosstable
ct = crosstable(mtcars2, c(mpg, drat, wt, qsec)) p_ct = pivot_crosstable(ct) as_flextable(p_ct)
Run the code above in your browser using DataLab