map_one | R Documentation |
Apply function that preserves order of dimensions
map_one(X, along, FUN, pb, drop = TRUE, ...)
X |
An n-dimensional array |
along |
Along which axis to apply the function |
FUN |
A function that maps a vector to the same length or a scalar |
pb |
progress bar object |
drop |
Remove unused dimensions after mapping; default: TRUE |
... |
Arguments passed to the function |
An array where FUN
has been applied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.