| new_inventory_design | R Documentation |
Construct a generic "inventory_design" object from sampled areas and minimum DBH thresholds.
The function computes trees-per-hectare expansion factors for each tally tier and can represent circular,
square, strip, ring, or custom layouts through metadata.
new_inventory_design(sample_area_m2,
min_dbh_cm = 0, name = "custom",
metadata = NULL)
sample_area_m2 |
|
min_dbh_cm |
|
name |
|
metadata |
Optional |
The object is shape-agnostic. Use metadata to record
how the sampled area was obtained, for example from
circular radii, square side lengths, strip dimensions, or
protocol notes. The constructor stores metadata as
supplied and does not validate or reorder its contents.
An object of class "inventory_design", returned as a
named list with components name,
min_dbh_cm, sample_area_m2, sf, and
metadata. sf gives the trees-per-hectare
expansion factor for each tally tier.
Wilson Lara [aut, cre] (ORCID: <https://orcid.org/0000-0003-3527-1380>), Cristobal Ordonez [aut] (ORCID: <https://orcid.org/0000-0001-5354-3760>), Aitor Vázquez-Veloso [aut] (ORCID: <https://orcid.org/0000-0003-0227-506X>), Felipe Bravo [aut] (ORCID: <https://orcid.org/0000-0001-7348-6695>)
dsg <- new_inventory_design(
sample_area_m2 = c(400, 100),
min_dbh_cm = c(20, 0),
name = "Nested square design",
metadata = list(shape = "square", side_m = c(20, 10))
)
dsg$min_dbh_cm
dsg$sf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.