Frequency table for data frames, e.g. across multiple columns
tableUnlist.rd
Replaces the somehow buggy function combination table(unlist(data))
.
Usage
tableUnlist(dataFrame, useNA = c("no", "ifany",
"always"))
Examples
dat <- data.frame ( matrix ( data = sample(0:1,200,replace=TRUE), nrow=20, ncol=10))
tableUnlist(dat)
#> vek
#> 0 1
#> 107 93