nfiMetrics | R Documentation |
This function recursively implements dbhMetric
on
data bases of the Spanish National Forest Inventory (NFI) to
derive a variety of tree metrics. Use metrics2Vol
to
recursively derive the metrics plus over bark volumes.
nfiMetrics(nfi, var = c("d",
"h", "ba", "n", "Hd"),
levels = c("esta",
"espe"), ...)
nfi |
|
var |
|
levels |
|
... |
Additional arguments in |
data.frame
containing columns which match the strings in
levels
, plus the variables defined in var
, including
the province pr
(dimensionless
), the diameter
d
('mm'
), the tree height h
('dm'
),
the basal area ba
('m2 tree-1'
), the number of trees
by hectare n
(dimensionless
), and the tree dominant
height Hd
('m'
).
Wilson Lara <wilarhen@gmail.com> [aut, cre] (<https://orcid.org/0000-0003-3527-1380>), Cristobal Ordonez <a_cristo@pvs.uva.es> [aut] (<https://orcid.org/0000-0001-5354-3760>), Felipe Bravo <fbravo@pvs.uva.es> [aut] (<https://orcid.org/0000-0001-7348-6695>)
## seconf NFI
madridNFI <- system.file("ifn3p28_tcm30-293962.zip", package="basifoR")
rmad <- readNFI(madridNFI)[1:10,]
mmad <- nfiMetrics(rmad)
head(rmad,3)
## see metric units
attr(rmad,'units')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.