This function automatically sets the names in the list or atomic vector from the input data without having to make 2 separate function calls to purrr::map and purrr::set_names.
map_names_set(x, .f, ...)
x | input |
---|---|
.f | function in purrr::map |
... | additional parameters for the purrr::map function |