Description Objects from the Class Slots Extends Methods Author(s) References See Also Examples

This is the class definition that allows for the
application of crude Monte Carlo sampling to `downLog`

or
`standingTree`

objects. Examples of the class usage can be found
in the Monte Carlo sampling vignette noted below.

Objects can be created by calls of the
form `new("crudeMonteCarlo", ...)`

. However, an object constructor
of the same name, `crudeMonteCarlo`

, has been provided and
is the preferred method for creating objects that are ensured to be
valid.

Please note that diameters below are presumed to be in the
*same* units as length, i.e., meters for “metric”, and
feet for “English” `units`

. Cross-sectional areas are in
compatible units.

In addition to the slots provided by the virtual superclass
“`MonteCarloSampling`

”, the following slots
are represented...

`proxy`

:Object of class

`"character"`

: The name of the proxy function used. This should normally be the built-in “`cmcProxy`

”, which is the default and the only proxy allowed by the constructor.`diam.s`

:Object of class

`"numeric"`

: A vector of`n.s`

diameters corresponding to the sampled heights`hgt.s`

(see below).`rho.s`

:Object of class

`"numeric"`

: A vector of cross-sectional areas corresponding to the diameters in`diam.s`

.`hgt.s`

:Object of class

`"numeric"`

: A vector of sampled heights at which the`diam.s`

are taken.`vol.s`

:Object of class

`"numeric"`

: A vector of volume estimates associated with the sampled`hgt.s`

and associated diameters and cross-sectional areas.`volEst`

:Object of class

`"numeric"`

: The sample mean volume estimate of the`vol.s`

for the bole segment.`volVar`

:Object of class

`"numeric"`

: The within bole variance estimate of`volEst`

.`ci.lo`

:Object of class

`"numeric"`

: The lower 1-`alphaLevel`

confidence interval on the bole volume estimate.`ci.up`

:Object of class

`"numeric"`

: The upper 1-`alphaLevel`

confidence interval on the bole volume estimate.`alphaLevel`

:Object of class

`"numeric"`

: The two-tailed alpha-level for confidence interval construction.`trueVol`

:Object of class

`"numeric"`

: The true volume for the stem segment being estimated (see`segBnds`

in the base class definition).`relErrPct`

:Object of class

`"numeric"`

: The relative error in volume in percent.

Class `"MonteCarloSampling"`

, directly.

- plot
`signature(x = "crudeMonteCarlo", y = "missing")`

: Displays a plot of the stem object and sampled points.- summary
`signature(object = "crudeMonteCarlo")`

: Prints a summary of the object.

Jeffrey H. Gove

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

`MonteCarloSampling`

,
`importanceSampling`

,
`controlVariate`

,
`antitheticSampling`

.

1 | ```
showClass("crudeMonteCarlo")
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.