VirtualSampleControl-class: Class '"VirtualSampleControl"'

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

Description

Virtual superclass for controlling the setup of samples.

Objects from the Class

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

Slots

k:

A positive integer giving the number of samples to be set up.

seed:

An optional integer to be used as initial seed of the random number generator.

Extends

Class "OptSampleControl", directly.

Accessor methods

getK

signature(x = "VirtualSampleControl"): get slot k.

getSeed

signature(x = "VirtualSampleControl"): get slot seed.

Methods

draw

signature(x = "data.frame", setup = "VirtualSampleControl"): draw a sample.

head

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

length

signature(x = "VirtualSampleControl"): get the number of samples to be set up.

runSimulation

signature(x = "data.frame", setup = "VirtualSampleControl", nrep = "ANY", control = "SimControl"): run a simulation experiment.

runSimulation

signature(x = "VirtualDataControl", setup = "VirtualSampleControl", nrep = "ANY", control = "SimControl"): run a simulation experiment.

show

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

summary

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

tail

signature(x = "VirtualSampleControl"): 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

"BasicSampleControl", "TwoStageSampleControl", "SampleSetup", setup, draw


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