powered by
mtcars
Modified mtcars dataset so:
every column is labelled (using label attribute from expss package, compatible with Hmisc package)
label
expss
Hmisc
gear and cyl columns are considered as numerical factors
gear
cyl
vs and am columns are considered as character vector
vs
am
See mtcars for more informations on the original "Motor Trend Car Road Tests" dataset.
mtcars2
A data frame with 32 observations on 11 variables with labels.
# NOT RUN { library(crosstable) ct=crosstable(mtcars2, by=vs) ct as_flextable(ct) # }
Run the code above in your browser using DataLab