volume | R Documentation |
Determining the volume of the log or of the tree.
volume(height, dm, do, ds, circum, circumo, circums,
method = "huber", successive = FALSE, log)
height |
numeric, stem (whole bole) length. When |
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 " |
successive |
logical. If |
log |
a vector indicating tree to which belongs each log.
Is used only when |
Using method = cone
refers to truncated cone method.
A numeric vector of logs or trees volume.
shape
, for shape coefficient.
## 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"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.