Learn R Programming

spbal (version 1.0.1)

validate_parameters: Validate spbal function parameters.

Description

This function is used to validate parameters passed to all spbal functions that may be called by a user.

Usage

validate_parameters(parm, parm_value)

Value

Always returns TRUE indicating that the parameter was parsed successfully. If a parameter fails validation further execution is terminated using the STOP function.

Arguments

parm

The parameter to be validated.

parm_value

The value of the parameter to be validated. Must be defined as a list.

Author

Phil Davies.