Learn R Programming

sampSurf (version 0.7-6)

antitheticContainer: Generate Objects of Class "'>antitheticContainer"

Description

The methods for this function will allow the creation of valid "antitheticContainer" class objects. Please note that it is preferable to use the antitheticSampling constructor method directly with an "'>mcsContainer" object to create a valid collection. Please see the vignette below for detailed examples. See also antitheticContainer-methods for method details.

Usage

antitheticContainer(object, ...)

Arguments

object

The signature object for the generic.

Just gobbled presently.

Value

A valid object of class "'>antitheticContainer."

Details

The vignette below gives examples on creating “antitheticContainer” objects for each of the Monte Carlo subsampling methods available in sampSurf by passing a “mcsContainer” object to the antitheticSampling constructor. Please use this rather than calling the current constructor directly.

References

%

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

See Also

antitheticSampling

Examples

Run this code
# NOT RUN {
sTrees = standingTrees(5, startSeed = 12)
sTrees.cmc = crudeMonteCarlo(sTrees, n.s = 10)
sTrees.anti = antitheticSampling(sTrees.cmc)
sTrees.anti
print(sTrees.anti@stats, digits = 4) #compare with cmc below
print(sTrees.cmc@stats, digits = 4)
# }

Run the code above in your browser using DataLab