Virtual superclass for controlling contamination in a simulation experiment.
A virtual Class: No objects may be created from it.
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.
getTargetsignature(x = "VirtualContControl"): get
slot target.
setTargetsignature(x = "VirtualContControl"): set
slot target.
getEpsilonsignature(x = "VirtualContControl"): get
slot epsilon.
setEpsilonsignature(x = "VirtualContControl"): set
slot epsilon.
headsignature(x = "VirtualContControl"): currently
returns the object itself.
lengthsignature(x = "VirtualContControl"): get the
number of contamination levels to be used.
showsignature(object = "VirtualContControl"): print
the object on the R console.
summarysignature(object = "VirtualContControl"):
currently returns the object itself.
tailsignature(x = "VirtualContControl"): 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.
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. 10.18637/jss.v037.i03.
"'>DCARContControl", "'>DARContControl",
"'>ContControl", contaminate
# NOT RUN {
showClass("VirtualContControl")
# }
Run the code above in your browser using DataLab