Learn R Programming

remix (version 2.1)

summarize.by: Compute summary statistics according to a factor

Description

Compute summary statistics according to a factor

Usage

summarize.by(x, by, funs = c(mean, sd, quantile, n, na), ..., useNA = c("no", "ifany", "always"), addmargins = FALSE)

Arguments

x
numeric object
by
factor
funs
functions
...
passed to funs
useNA
useNA
addmargins
addmargins