Following the links in the doc, it seems you can use funs(mean(., na.rm = TRUE)):
library(dplyr)
by_species <- iris %>% group_by(Species)
by_species %>% summarise_each(funs(mean(., na.rm = TRUE)))
Following the links in the doc, it seems you can use funs(mean(., na.rm = TRUE)):
library(dplyr)
by_species <- iris %>% group_by(Species)
by_species %>% summarise_each(funs(mean(., na.rm = TRUE)))