validateClass: validateClass

Description Usage Arguments Details Value Author(s) See Also

Description

validateClass Validates the class of one or more parameters.

Usage

1
validateClass(object)

Arguments

object

The object to be validated

Details

Validates the class of one or more objects. The object must have a public member called params which is a list containing three elements: (1) a vector of object names, (2) a vector containing the objects, and (3) a list of vectors, where each vector contains the valid classes for each of the objects

Value

a list containing two elements: a code and a message. If the validation passed, the code will be TRUE and the msg element will be NULL. Otherwise, the code will be FALSE and the msg element will describe the error.

Author(s)

John James, jjames@DataScienceSalon.org

See Also

Other Validation Functions: validateDiscrete, validateKeyValue, validateLogical, validatePath, validateRange


DecisionScients/NLPStudio documentation built on May 15, 2019, 12:51 p.m.