Learn R Programming

sampSurf (version 0.7-6)

mcsContainer-class: Class "mcsContainer"

Description

This class allows one to store a collection of objects that are all a subclass of "'>MonteCarloSampling."

Arguments

Objects from the Class

Objects can be created by calls of the form new("mcsContainer", ...). However, using the constructor methods with the same name as the subsampling method used is preferred (see mcsContainer). Please refer to the vignette reference below for more examples.

Slots

mcsObjs:

Object of class "list": Each object in the list must be of the same class for a valid object.

stats:

Object of class "matrix": Summary statistics for the objects in slot mcsObjs.

description:

Object of class "character": A character description of the contents if desired.

Methods

antitheticSampling

signature(object = "mcsContainer"): Apply antithetic sampling to each object in the collection.

hist

signature(x = "mcsContainer"): Generate histograms for the collection.

plot

signature(x = "mcsContainer", y = "missing"): Plot the container collection.

show

signature(object = "mcsContainer"): Print a summary.

summary

signature(object = "mcsContainer"): Print a summary.

References

%

Gove, J. H. 2013. Monte Carlo sampling methods in sampSurf. Package vignette.

See Also

mcsContainer, '>antitheticContainer.

Examples

Run this code
# NOT RUN {
showClass("mcsContainer")
# }

Run the code above in your browser using DataLab