| NAControl-class {simFrame} | R Documentation |
Class for controlling the insertion of missing values in a simulation experiment.
Objects can be created by calls of the form new("NAControl", ...) or
NAControl(...).
target:"OptCharacter"; a character
vector specifying the variables (columns) in which missing values should
be inserted, or NULL to insert missing values in all variables
(except the additional ones generated internally).NArate:"NumericMatrix" giving the
missing value rates, which may be selected individually for the target
variables. In case of a vector, the same missing value rates are used for
all target variables. In case of a matrix, on the other hand, the missing
value rates to be used for each target variable are given by the
respective column.group:"character" specifying a
variable (column) to be used for setting whole groups to NA
rather than individual values.aux:"character" specifying an
auxiliary variable (column) whose values are used as probability weights
for selecting the values to be set to NA.
Class "VirtualNAControl", directly.
Class "OptNAControl", by class "VirtualNAControl",
distance 2.
signature(x = "data.frame", control = "NAControl"):
set missing values.Andreas Alfons, alfons@statistik.tuwien.ac.at
showClass("NAControl")