powered by
iris
Modified iris dataset so:
every column is labelled (using label attribute)
label
Species column is considered as factor
Species
See iris for more informations on the original "Edgar Anderson's Iris Data" dataset.
iris2
A data frame with 150 observations on 5 variables with labels.
library(crosstable) ct=crosstable(iris2, by=Species) ct as_flextable(ct)
Run the code above in your browser using DataLab