VirtualContControl-class: Class "VirtualContControl"

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

Description

Virtual superclass for controlling contamination in a simulation experiment.

Objects from the Class

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

Slots

target:

Object of class "OptCharacter"; a character vector specifying specifying the variables (columns) to be contaminated, or NULL to contaminate all variables (except the additional ones generated internally).

epsilon:

Object of class "numeric" giving the contamination levels.

Extends

Class "OptContControl", directly.

Accessor and mutator methods

getTarget

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

setTarget

signature(x = "VirtualContControl"): set slot target.

getEpsilon

signature(x = "VirtualContControl"): get slot epsilon.

setEpsilon

signature(x = "VirtualContControl"): set slot epsilon.

Methods

head

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

length

signature(x = "VirtualContControl"): get the number of contamination levels to be used.

show

signature(object = "VirtualContControl"): print the object on the R console.

summary

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

tail

signature(x = "VirtualContControl"): 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. doi: 10.18637/jss.v037.i03.

See Also

"DCARContControl", "DARContControl", "ContControl", contaminate

Examples

1
showClass("VirtualContControl")

aalfons/simFrame documentation built on Nov. 27, 2021, 7:51 a.m.