tableF.Rd
Provides in-depth frequency counts and percentages.
tableF(.data, x, n = 20, splitby = NULL)
the data frame containing the variable
the bare variable name (not quoted)
the number of values shown int he table
the stratifying variable
a list of class tableF
containing the frequency table(s)
if (FALSE) {
library(furniture)
data <- data.frame(
x = sample(c(1,2,3,4), 100, replace=TRUE),
y = rnorm(100)
)
## Basic Use
tableF(data, x)
tableF(data, y)
## Adjust the number of items shown
tableF(data, y, n = 10)
## Add splitby
tableF(data, x, splitby = y)
}