Description Usage Arguments Details Value Examples
View source: R/wregValidation.R
The wregValidation function validates input in WREG-R.
1  | 
input | 
 A value to validate.  | 
mode | 
 Method of validation  | 
compare | 
 (optional) Value to compare against if mode requires comparison  | 
message | 
 (optional) Custom message for warning/error  | 
warnFlag | 
 (optional) Whether or not invalid input should throw a warning/error  | 
This functions streamlines validation for the programmer so less lines of code are written
TRUE or FALSE depending on validity of input or throws an error
1  | invalid <- wregValidation(0, "eq", 0)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.