
Returns a character vector of the specified function's parameters
function_parameter_names(FUN)
The name of a function
A character vector of function parameter names
# NOT RUN {
## Define a function
example_function <- function( parm1, arg2, x, bool = FALSE ){
cat( "This is an example function.\n" )
}
## Return the function parameter names
function_parameter_names( example_function )
# }
Run the code above in your browser using DataLab