# NOT RUN {
funs(mean, "mean", mean(., na.rm = TRUE))
# Override default names
funs(m1 = mean, m2 = "mean", m3 = mean(., na.rm = TRUE))
# If you have function names in a vector, use funs_
fs <- c("min", "max")
funs_(fs)
# Not supported
# }
# NOT RUN {
funs(function(x) mean(x, na.rm = TRUE))
funs(~mean(x, na.rm = TRUE))
# }
Run the code above in your browser using DataLab