tapply.fast: Fast tapply Function

tapply.fastR Documentation

Fast tapply Function

Description

Provides a faster implementation of tapply for factor-type indices.

Usage

tapply.fast(X, INDEX, FUN = NULL, ..., simplify = TRUE)

Arguments

X

Numeric vector. Data to be applied.

INDEX

Factor. Indexing factor.

FUN

Function. Function to apply.

simplify

Logical. Whether to simplify the result.

Value

List or vector. Result of applying FUN to X grouped by INDEX.


rIACI documentation built on April 12, 2025, 9:16 a.m.