Description Usage Arguments Value Examples
Apply a function to each column value, that is to each (non-empty) group of values given by a unique combination of the levels of certain factors.
1 |
X |
td data frame of column to apply function to. |
INDEX |
td data frame of the list of columns, each in same table as X. |
FUN |
One of the following functions to be applied (sum, min, max, mean, td.values, and td.stats). |
asdf |
If TRUE, the return value is left as a data frame object. Otherwise default is as an array. |
... |
forward information. |
Array dimensioned by the INDEX containing the result of applying FUN to the data. If asdf = TRUE the result will instead be a data frame of the results.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.