Description Usage Arguments Value See Also Examples
After attributing a weight to each equation in allodb using the
weight_allom()
function, equations are then resampled within their original
DBH range using resample_agb()
: the number of resampled values for each
equation is proportional to its weight. It creates S3 objects of class
"numeric".
1 2 3 4 5 6 7 8 9 | resample_agb(
genus,
coords,
species = NULL,
new_eqtable = NULL,
wna = 0.1,
w95 = 500,
nres = 10000
)
|
genus |
a character value, containing the genus (e.g. "Quercus") of the tree. |
coords |
a numeric vector of length 2 with longitude and latitude. |
species |
a character value, containing the species (e.g. "rubra") of the tree. Default is "NULL", when no species identification is available. |
new_eqtable |
Optional. An equation table created with the
|
wna |
a numeric vector, this parameter is used in the |
w95 |
a numeric vector, this parameter is used in the |
nres |
number of resampled values. Default is "1e4". |
An object of class "data.frame" of resampled DBHs and associated AGB
from the equation table; the number of resampled DBHs is proportional to
the weight provided by the weight_allom()
function.
weight_allom()
, new_equations()
.
1 2 3 4 5 | resample_agb(
genus = "Quercus",
species = "rubra",
coords = c(-78.2, 38.9)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.