library(crosstable)
library(flextable)
library(dplyr) #pour le pipe %>% 

Table iris is given in Table \@ref(tab:irisTable).

cat("<caption> (\\#tab:irisTable) Table Iris </caption> \n\r ")
crosstable(iris, Sepal.Length, Sepal.Width, by=Species, test=TRUE, total="column") %>% as_flextable


DanChaltiel/crosstable documentation built on Jan. 23, 2025, 10:10 a.m.