Description Usage Arguments Details Value See Also Examples
Map over matrix dimensions separately in a single function call
1 2 3 |
f |
A function to apply to the 2D dataset. |
x |
A dataset, such as an array or data frame. |
... |
Arguments passed to the |
Apply function over dimensions and save the column- and row-wise results separately in a list with 'mapdims()'; convenient 'apply()' abbreviations with 'mapc()' and 'mapr()'.
List for mapdims(). Two elements: rowwise
for the row-wise computations, and colwise
for the column-specific results. Output is array for 'mapc()' and 'mapr()'
https://github.com/robertschnitman/afp, apply
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.