Description Usage Arguments Value Examples
View source: R/function_list.r
Takes a list of functions and function names (or a vector of function names) and names it. Requires all entries with functions to be named and adds names to functions that were specified as names.
1 | normalize_function_list(funs)
|
funs |
Valid list or vector of function names and/or functions. |
Named list or character vector of functions.
1 2 3 4 | normalize_function_list(c(value = 'mean'))
normalize_function_list(c('median', n = 'length'))
normalize_function_list(list('median', n = length))
normalize_function_list(list(Sum = sum, Custom = function(x) sum(nchar(as.character(x)))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.