tableUnlist: Frequency table for data frames, e.g. across multiple columns

Description Usage Arguments Value Author(s) Examples

Description

Replaces the somehow buggy function combination table(unlist(data)).

Usage

1
2
tableUnlist(dataFrame, verbose = TRUE, useNA = c("no", "ifany",
    "always"))

Arguments

dataFrame

Data frame with more than one column.

verbose

Logical: print messages to console?

useNA

whether to include NA values in the table. See help file of table for more details.

Value

A freqency table

Author(s)

Sebastian Weirich

Examples

1
2
dat  <- data.frame ( matrix ( data = sample(0:1,200,replace=TRUE), nrow=20, ncol=10))
tableUnlist(dat)

eatRep documentation built on May 2, 2019, 5:40 p.m.