Description Usage Arguments Value
a version of apply. if MARGIN = 1, the values in each column of X are passed to FUN as named arguments according to the column name. if MARGIN = 2, the values in each row of X are passed to FUN as named arguments according to the row name
1 | apply_named_args(X, MARGIN, FUN)
|
X |
see arguments for apply. If MARGIN = 1, colnames(X) must match the named arguments of FUN. |
MARGIN |
see arguments for apply |
FUN |
see arguments for apply. Must have named arguments |
see apply
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.