Description Usage Arguments Details Value Author(s) References See Also Examples
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.
1 | antitheticSampling(object, ...)
|
object |
An object that is a subclass of
" |
... |
Just gobbled at present. |
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.
A valid object of class "antitheticSampling
" or
"antitheticContainer
", depending on which method
was used.
Jeffrey H. Gove
Gove, J. H. 2013. Monte Carlo sampling methods in sampSurf. Package vignette.
See antitheticSampling-methods
for methods.
Generics for Monte Carlo methods for the object
are:
crudeMonteCarlo
importanceSampling
,
controlVariate
.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.