I\'m trying to use the dplyr package to apply a function to all columns in a data.frame that are not being grouped, which I would do with aggregate():
aggregate()
This will get you almost all the way in dplyr.
dplyr
h = iris %.% group_by(Species) %.% do(function(d){ sapply(Filter(is.numeric, d), mean) }) as.data.frame(h)