Wrapper for apply.

Apply(.x, .f, .margin, ...)

Arguments

.x

An array, including a matrix.

.f

A function to be applied.

.margin

A vector giving the subscripts which the function will be applied over.

...

Optional arguments to f.

See also

apply for code and documentation.

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