View source: R/aggregate_multiple_fun.R
fix_fun_amf | R Documentation |
fun
parameter to aggregate_multiple_fun
Fix fun
parameter to aggregate_multiple_fun
fix_fun_amf(fun)
fun |
fun |
fun
identical(fix_fun_amf("median"), c(median = median))
identical(fix_fun_amf(c("sum", "median")), c(sum = sum, median = median))
ff <- c("sum", "median", "cor")
names(ff) <- c("", NA, "Correlation")
identical(fix_fun_amf(ff), c(sum, median = median, Correlation = cor))
identical(fix_fun_amf(structure("median", names = "")), fix_fun_amf(median))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.