Description Usage Arguments Details Value Author(s) See Also
validateClass
Validates the class of one or more parameters.
1 | validateClass(object)
|
object |
The object to be validated |
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
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.
John James, jjames@DataScienceSalon.org
Other Validation Functions: validateDiscrete
,
validateKeyValue
,
validateLogical
,
validatePath
, validateRange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.