antitheticSampling: Generate Objects of Class "'antitheticSampling'"

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This generic has two methods, they are used to apply antithetic sampling to an individual "MonteCarloSampling" subclass object, or collections of "MonteCarloSampling" objects. See antitheticSampling-methods for details.

Usage

1

Arguments

object

An object that is a subclass of "MonteCarloSampling".

...

Just gobbled at present.

Details

This method samples points on the bole antithetic to those found in the object argument. Note that one can not pass arguments on to the proxy. All of the information from the object passed is used to determine the proxy and any specific arguments used by the proxy in the creation of that object. The constructor functions do not allow any of this to be changed by the user.

Value

A valid object of class "antitheticSampling" or "antitheticContainer", depending on which method was used.

Author(s)

Jeffrey H. Gove

References

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

See Also

See antitheticSampling-methods for methods. Generics for Monte Carlo methods for the object are: crudeMonteCarlo importanceSampling, controlVariate.

Examples

1
2
3
4
5
6
7
#
# estimate volume between 10 and 15 m, using 5 random heights...
#
sTree = standingTree(dbh = 40, topDiam = 0, height = 20, solidType = 2.8)
sTree.cmc = crudeMonteCarlo(sTree, n.s = 5, segBnds = c(10,15), startSeed = 114)
sTree.anti = antitheticSampling(sTree.cmc)
sTree.anti

sampSurf documentation built on March 5, 2021, 5:06 p.m.