crudeMonteCarlo: Generate Objects of Class "'crudeMonteCarlo'"

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

Description

This generic has two methods, they are used to apply crude Monte Carlo subsampling to an individual "Stem" object, or collections of "Stem" objects. See crudeMonteCarlo-methods for details.

Usage

1

Arguments

object

This is the signature argument, see the crudeMonteCarlo-methods for possible values.

...

Arguments that can be passed along to the proxy function.

Details

Crude Monte Carlo is arguably the simplest method for estimating a volume integral within a segment of a stem bole. The equations used in estimation are given in the reference below, which also points to more detailed references. Essentially, the crude Monte Carlo method extracts one or more heights uniformly at random, at which cross-sectional areas are determined. From these, a volume estimate can be made for each subsampled height.

Value

A valid object of class "crudeMonteCarlo" or "mcsContainer", 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 crudeMonteCarlo-methods for methods. Other similar generics for Monte Carlo methods include: importanceSampling, controlVariate, antitheticSampling.

Examples

1
2
3
4
5
6
#
# 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.cmc

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