If you want to compute arbitrary operations on a data frame returning more than one number back, use dplyr do()! Tips and suggestions, in SE and NSE version.

Share: