as_function
is the powerhouse behind the varied function
specifications that purrr functions allow. This is a a non-exported,
modified version that does not turn character vectors into functions,
instead it simply returns objects that are not functions or formulas as-is.
1 | as_function(.f)
|
.f |
A function, formula, or atomic vector. If a function, it is used as is. If a formula, e.g. If anything else, return it as-is. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.