default_args_to_global_env: Extract default arguments for a function into the global...

Description Usage Arguments Examples

Description

Extract default arguments for a function into the global environment

Usage

1
default_args_to_global_env(function_name, package_name = NULL)

Arguments

function_name

string. name of function.

package_name

string. name of package to fetch function from. if NULL, use current environment. default: NULL

Examples

1
2
3
4
5
## Not run: 
# Put all the default arguments for 'rnorm' into the global environment
default_args_to_global_env(function_name = 'rnorm')

## End(Not run)

coolbutuseless/grrr documentation built on May 16, 2019, 7:15 p.m.