Description Usage Arguments Details Author(s) Examples
Apply a Function to a Data Frame Split by Factors
1 |
x |
Data frame |
INDICES |
Indices (vector or list of indices, vector of column names, or formula of column names) |
FUN |
A function to be applied to data frame subsets of 'data'. |
COLUMNS |
(Optional) subset of columns of x to work on |
array |
if TRUE an array/matrix is always returned |
... |
Additional arguments to lower-level functions |
Simple wrapper of the 'by' function
Klaus K. Holst
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.