tapply.fast {rIACI} | R 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.
[Package rIACI version 1.0.0 Index]