View source: R/missingArgHandler.R
missingArgHandler | R Documentation |
Replaces the missing argument with the default value. This is an internal function and is currently not exported in the package.
missingArgHandler(argMissed, argDefault)
argMissed |
This is the argument that needs to be handled. |
argDefault |
This is the default value of the argument that is missing in the function called. |
This function plays the role of error handler by setting the default values of the arguments when a function is called without specifying any arguments.
The default value of the missing argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.