using purrr map

You are missing the .x argument. You want to map over something (such as the list of column names). Perhaps provide an example dataset to make it clearer.

1 Like