Description Usage Arguments Examples
Extract default arguments for a function into the global environment
1 | default_args_to_global_env(function_name, package_name = NULL)
|
function_name |
string. name of function. |
package_name |
string. name of package to fetch function from. if NULL, use current environment. default: NULL |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.