Learn R Programming

remix (version 2.1)

summarize.data.frame.by: Compute summary statistics according to a factor (data.frame input)

Description

Compute summary statistics according to a factor (data.frame input)

Usage

summarize.data.frame.by(df, by, funs = c(mean, sd, quantile, n, na), ..., useNA = c("no", "ifany", "always"), addmargins = FALSE, revert = FALSE, test = FALSE, test.summarize = test.summarize.auto, show.test = display.test, plim = 4, show.method = TRUE, label = FALSE)

Arguments

df
data.frame
by
data.frame
funs
fuctions
...
passed to funs
useNA
useNA
addmargins
addmargins
revert
whether to regroup factors or numeric variables when crossing factor with numeric variables