Tapply: Wrapper for tapply function.

Description Usage Arguments See Also

View source: R/Tapply.R

Description

Wrapper for tapply.

Usage

1
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


functools documentation built on May 29, 2017, 6:32 p.m.