volume {dendrometry}R Documentation

Tree stem and log Volume

Description

Determining the volume of the log or of the tree.

Usage

volume(height, dm, do, ds, circum, circumo, circums,
       method = "huber", successive = FALSE, log)

Arguments

height

numeric, stem (whole bole) length. When successive is "TRUE", it stands for log length.

do, dm, ds

numeric, respectively base, median and end diameter.

circumo, circum, circums

numeric, respectively base, median and end circumference.

method

character string, the method of volume computation. Can be one of "huber", "smalian", "cone", or "newton". Default is "huber".

successive

logical. If TRUE, Successive method is applied. is applied. Default is FALSE.

log

a vector indicating tree to which belongs each log. Is used only when successive is "TRUE".

Details

Using method = cone refers to truncated cone method.

Value

A numeric vector of logs or trees volume.

See Also

shape, for shape coefficient.

Examples

## huber method
volume(height = 10, dm = 35)
volume(height = 10, circum = 100)

## smalian method
volume(height = 10, do = 45, ds = 15, method = "smalian")
volume(height = 10, circumo = 200, circums = 110, method = "smalian")

## cone method
volume(height = 10, do = 45, ds = 15, method = "cone")
volume(height = 10, circumo = 200, circums = 110, method = "cone")

## newton method
volume(height = 10, dm = 35, do = 45, ds = 15, method = "newton")
volume(height = 10, circum = 100, circumo = 200, circums = 110, method = "newton")

[Package dendrometry version 0.0.2 Index]