Estimates the stem volume
volume uses one of the following methods (Smalian,
Newton, Huber) to approximate real stem volume. Users
should remember they're just approximations and sample
size provide more accurate results them using different
a data frame or matrix in format described
in dataset inventory (more help
method used for estimation of the stem volume
a named vector of volumes, names are defined as same as in first column
Newton and Huber methods have small modifications for working just with two mensures (lower and upper diameter). Both of them use mean instead of real middle diameter.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
example_data <- data.frame(tree_number = 1, dhb = 5, total_height = 20, comercial_height = 15, section_height = c(0,5,15), section_diameter = 5 ) volume(example_data) # # # A little more complex and common example data(inventory) volume_output <- volume(inventory) summary(volume_output) hist(volume_output)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.