View source: R/function_body.R
| function_body | R Documentation |
This function extracts the body of a function as a single character.
function_body(fun, braces = FALSE, nchar = getOption("width") - 4)
fun |
[ |
braces |
[ |
nchar |
[ |
A character, the body of f.
Other function helpers:
do.call_timed(),
function_arguments(),
function_defaults(),
quiet(),
timed(),
try_silent(),
variable_name()
fun <- mean.default
function_body(fun)
function_body(fun, braces = TRUE)
function_body(fun, nchar = 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.