tapply.fast | R Documentation |
Provides a faster implementation of tapply for factor-type indices.
tapply.fast(X, INDEX, FUN = NULL, ..., simplify = TRUE)
X |
Numeric vector. Data to be applied. |
INDEX |
Factor. Indexing factor. |
FUN |
Function. Function to apply. |
simplify |
Logical. Whether to simplify the result. |
List or vector. Result of applying FUN to X grouped by INDEX.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.