function nesting in R using dplyr operator

welcome to shbcf.ru