Mapping over multiple arguments
map2()
and pmap()
functions are for multiple related inputs that you need iterate along in parallel.
Invoking different functions
Read the help in purrr on these functons. If you need to do this read Advanced R. invoke_map
is retired.