This is very well explained in purrr
. Example from the map()
help file:
• For a single argument function, use .
• For a two argument function, use .x and .y
• For more arguments, use ..1, ..2, ..3 etc
This is very well explained in purrr
. Example from the map()
help file:
• For a single argument function, use .
• For a two argument function, use .x and .y
• For more arguments, use ..1, ..2, ..3 etc