powered by
Define validation rules for data
validator(..., .file)
A comma-separated list of validating expressions
A character vector of file locations (see also the section on file parsing in the syntax help file).
syntax
An object of class validator (see validator-class).
validator
validator-class
Each validating expression should evaluate to a logical. Allowed syntax of the expression is described in syntax.
logical
A validating expression is an expression whose evaluation results in TRUE, FALSE or NA.
TRUE
FALSE
NA
confront, check_that
confront
check_that
summary,expressionset-method
# NOT RUN { v <- validator( height>0 ,weight>0 ,height < 1.5*mean(height) ) cf <- confront(women, v) summary(cf) # }
Run the code above in your browser using DataLab