validator | R Documentation |
Define validation rules for data
validator(..., .file, .data)
... |
A comma-separated list of validating expressions |
.file |
(optional) A character vector of file locations (see also the
section on file parsing in the |
.data |
(optional) A |
An object of class validator
(see validator-class
).
Each validating expression should evaluate to a logical
. Allowed syntax of
the expression is described in syntax
.
Other validator-methods:
+,validator,validator-method
,
plot,validator-method
v <- validator(
height>0
,weight>0
,height < 1.5*mean(height)
)
cf <- confront(women, v)
summary(cf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.