checkDatamodel {editrules} | R Documentation |
Check data against a datamodel
Description
Categorical variables in dat
which also occur in E
are checked against the datamodel for
those variables. Numerical variables are checked against edits in E
that contain only a single
variable (e.g. x > 0
). Values violating such edits as well as empty values are set to adapt.
Usage
checkDatamodel(E, dat, weight = rep(1, ncol(dat)), ...)
Arguments
E |
an object of class |
dat |
a |
weight |
vector of weigths for every variable of |
... |
arguments to be passed to or from other methods |
Value
An object of class errorLocation
.
See Also
errorLocation
, localizeErrors
.
[Package editrules version 2.9.5 Index]