| Map2 | R Documentation |
Map and parallel::clusterMap togetherThis will send to Map or clusterMap, depending on whether cl is provided.
Because they use different argument names for the main function
to call, leave that argument unnamed.
Map2(f, ..., cl = NULL)
f |
passed as |
... |
passed to |
cl |
A cluster object, passed to |
## Not run: a <- 1:5 Map2(a, f = function(x) x) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.