| new_dominant_height_method | R Documentation |
Create a compact method specification for registry-based dominant-height calculations.
new_dominant_height_method(output = "Hd",
fun = NULL, fun_name = NULL,
diameter_fun = NULL,
diameter_fun_name = NULL,
diameter_unit = "mm",
diameter_equation = NULL,
unit = "m", threshold = 100,
equation = NULL,
selection_rule = NULL,
fallback = NULL,
variables = c(h = "tree height in metres",
d = "diameter at breast height in millimetres",
n = "tree expansion factor in trees per hectare"),
required_inputs = c("h",
"d", "n"), reference = NULL,
description = NULL)
output |
|
fun |
Optional |
fun_name |
Optional |
diameter_fun |
Optional paired function used to compute dominant diameter from |
diameter_fun_name |
Optional run-time name of the paired dominant-diameter function. |
diameter_unit |
|
diameter_equation |
|
unit |
|
threshold |
|
equation |
|
selection_rule |
|
fallback |
|
variables |
Named |
required_inputs |
|
reference |
Optional |
description |
Optional |
The object does not evaluate dominant height by itself. It only
records the output name, function or function name, unit,
dominant-tree threshold, selection rule, equation, fallback rule,
variable definitions, and optional reference.
A named list with class "dominant_height_method".
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>)
m <- new_dominant_height_method(
fun_name = "domheight",
equation = "Hd = sum(h_i * n_i) / sum(n_i)",
selection_rule = "Sort trees by decreasing diameter and select dominant trees.",
fallback = "Use the weighted mean height of all valid trees."
)
m$equation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.