metrics2Vol {basifoR}  R Documentation 
This function computes over bark volumes ('m3'
) processing
tree metrics from databases of the SNFI data and using volume
equations established in 2nd NFI, see Details section. To derive
dendrometric summaries use dendroMetrics
.
metrics2Vol(nfi, cub.met = "freq",
keep.var = FALSE,
...)
nfi 

cub.met 

keep.var 

... 
Depending on 
The quations from the second SNFI
used have the forms 'v ~ par1 + par2
* (d^2) * h'
, and 'v ~ par1 *
(d^par2) * (h^par3)'
. These equations
estimate over bark volumes in 'dcm3'
but the function transform the units so the
output volumes have 'm3'
units. The
function assign equation forms and
parameters depending on several variables,
including the provincial unit, the tree
species, the tree diameter, and the tree
height. Consequently, objects from
nfiMetrics
must have these
variables.
data.frame
. Depending on keep.var
, short or expanded
data set. Short data sets contain the volumes v
('m3'
) plus the metrics defined in
nfiMetrics
. The expanded data contains additional
columns with the variables used to compute the volumes.
Wilson Lara <wilarhen@gmail.com>, Cristobal Ordonez <a_cristo@pvs.uva.es>, Felipe Bravo <fbravo@pvs.uva.es>
madridNFI < system.file("ifn3p28_tcm30293962.zip", package="basifoR")
rmad < readNFI(madridNFI)[1:10,]
vmad < metrics2Vol(rmad)
head(vmad)
## see metric units
attr(vmad,'units')