VirtualNAControl-class: Class '"VirtualNAControl"'

Description Objects from the Class Slots Extends Accessor methods Methods UML class diagram Author(s) References See Also

Description

Virtual superclass for controlling the insertion of missing values in a simulation experiment.

Objects from the Class

A virtual Class: No objects may be created from it.

Slots

target:

A character vector specifying the variables (columns) into which missing values should be inserted, or NULL to insert missing values into all variables (except additional ones generated internally).

NARate:

A numeric matrix giving the missing value rates. In case of only one column, the same missing value rates are used for all target variables. Otherwise the missing value rates to be used for each target variable are given by the respective column. A vector is converted to a matrix during initialization.

Extends

Class "OptNAControl", directly.

Accessor methods

getTarget

signature(x = "VirtualNAControl"): get slot target.

getNARate

signature(x = "VirtualNAControl"): get slot NARate.

Methods

head

signature(x = "VirtualNAControl"): currently returns the object itself.

length

signature(x = "VirtualNAControl"): get the number of missing value rates to be used (i.e., the number of rows).

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.

UML class diagram

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.

Author(s)

Andreas Alfons

References

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. URL http://www.jstatsoft.org/v37/i03/.

See Also

"NAControl", setNA


aalfons/simFrame documentation built on June 3, 2017, 10:52 a.m.