assigning `pmap` output to dataframes with pattern names
问题 I am using pmap to run the same function across multiple dataframes and wish to assign each element of the output list to a separate object with a name that has a pattern. But I can't figure out how to do this. For example, here is a minimal example where I am computing quantiles for three different variables- # function call purrr::pmap(.l = list( x = list(iris$Sepal.Length, mtcars$wt, anscombe$y4), probs = list(seq(0, 1, 0.10)), na.rm = list(TRUE) ), .f = stats::quantile) # output #> [[1]]