Description Objects from the Class Slots Extends Accessor and mutator methods Methods UML class diagram Author(s) References See Also Examples
Virtual superclass for controlling the insertion of missing values in a simulation experiment.
A virtual Class: No objects may be created from it.
target:Object of class "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:Object of class "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.
Class "OptNAControl", directly.
getTargetsignature(x = "VirtualNAControl"): get slot
target.
setTargetsignature(x = "VirtualNAControl"): set slot
target.
getNAratesignature(x = "VirtualNAControl"): get slot
NArate.
setNAratesignature(x = "VirtualNAControl"): set slot
NArate.
headsignature(x = "VirtualNAControl"): currently
returns the object itself.
lengthsignature(x = "VirtualNAControl"): get the
number of missing value rates to be used (the length in case of a vector
or the number of rows in case of a matrix).
showsignature(object = "VirtualNAControl"): print the
object on the R console.
summarysignature(object = "VirtualNAControl"):
currently returns the object itself.
tailsignature(x = "VirtualNAControl"): currently
returns the object itself.
A slightly simplified UML class diagram of the framework can be found in
Figure 1 of the package vignette An Object-Oriented Framework for
Statistical Simulation: The R Package simFrame. Use
vignette("simFrame-intro") to view this vignette.
Andreas Alfons
Alfons, A., Templ, M. and Filzmoser, P. (2010) An Object-Oriented Framework for Statistical Simulation: The R Package simFrame. Journal of Statistical Software, 37(3), 1–36. doi: 10.18637/jss.v037.i03.
1 | showClass("VirtualNAControl")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.