powered by
Replaces the somehow buggy function combination table(unlist(data)).
table(unlist(data))
tableUnlist(dataFrame, useNA = c("no", "ifany", "always"))
A frequency table
Data frame with more than one column.
whether to include NA values in the table. See help file of table for more details.
table
dat <- data.frame ( matrix ( data = sample(0:1,200,replace=TRUE), nrow=20, ncol=10)) tableUnlist(dat)
Run the code above in your browser using DataLab