missingArgHandler {conjurer} R Documentation

## Handle Missing Arguments in Function

### Description

Replaces the missing argument with the default value. This is an internal function and is currently not exported in the package.

### Usage

missingArgHandler(argMissed, argDefault)


### Arguments

 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.

### Details

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.

### Value

The default value of the missing argument.

[Package conjurer version 1.5.0 Index]