metrics2Vol {basifoR} | R Documentation |
Tree volumes in NFI data
Description
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
.
Usage
metrics2Vol(nfi, cub.met = "freq",
keep.var = FALSE,
...)
Arguments
nfi |
|
cub.met |
|
keep.var |
|
... |
Depending on |
Details
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.
Value
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.
Author(s)
Wilson Lara <wilarhen@gmail.com>, Cristobal Ordonez <a_cristo@pvs.uva.es>, Felipe Bravo <fbravo@pvs.uva.es>
Examples
madridNFI <- system.file("ifn3p28_tcm30-293962.zip", package="basifoR")
rmad <- readNFI(madridNFI)[1:10,]
vmad <- metrics2Vol(rmad)
head(vmad)
## see metric units
attr(vmad,'units')