functools (version 0.2.0)

Tapply: Wrapper for tapply function.

Description

Wrapper for tapply.

Usage

Tapply(.x, index, .f = NULL, ..., simplify = TRUE)

Arguments

.x
A vector.
index
List of one or more factors, each of same length as .x. The elements are coerced to factors by as.factor.
.f
A function to be applied.
...
Optional arguments to .f.
simplify
If FALSE, tapply always returns an array of mode "list". If TRUE (the default), then if FUN always returns a scalar, tapply returns an array with the mode of the scalar.

See Also

tapply for code and documentation.

Other functionals: Apply; Lapply; Mapply; Sapply; Vapply