Hi,
i would like to know how could we combine two or more functions to make a new function which would calculate all the functions in side that as a whole?
Maybe look into having nested functions in an outer - inner model.
Your question is a little general, so there are multiple answers that might fit it.
That being said, read help for purrr::compose
function. It might do what you want.
2 Likes