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.
getTarget
signature(x = "VirtualNAControl")
: get slot
target
.
setTarget
signature(x = "VirtualNAControl")
: set slot
target
.
getNArate
signature(x = "VirtualNAControl")
: get slot
NArate
.
setNArate
signature(x = "VirtualNAControl")
: set slot
NArate
.
head
signature(x = "VirtualNAControl")
: currently
returns the object itself.
length
signature(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).
show
signature(object = "VirtualNAControl")
: print the
object on the R console.
summary
signature(object = "VirtualNAControl")
:
currently returns the object itself.
tail
signature(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.