These functions are variants of map()
that iterate over two arguments at
a time.
Usage
map2_struct(.x, .y, .f, ..., .progress = FALSE)
Arguments
- .x
a struct_list
- .y
a list or vector the same length as .x
- .f
a function to apply to each .x
, .y
pair
- ...
additional parameters to .f
but anonymous function preferred
- .progress
display a progress bar (logical or string name)