converting function names to strings inside purrr::map
I’d like to convert a function into a string – further I’d like to use purrr::map()
to turn many functions into strings. The motivating problem is to apply many functions to a data frame, and return a new data frame where the column names depend on the function that was applied.
converting function arguments to strings inside purrr::map
I’d like to convert a function into a string – further I’d like to use purrr::map()
to turn many functions into strings. The motivating problem is to apply many functions to a data frame, and return a new data frame where the column names depend on the function that was applied.