species2unit | R Documentation |
This function uses a set of rules to assign standard forest unit (SFU or just FU) based on forest composition, region and additional parameters that depend on the selected region.
species2unit(
species_composition,
region,
ecosite = NA,
WG = NA,
age = NA,
site_class = NA,
stocking = 1
)
species_composition |
This can be: (1) A data frame with two columns - first column has to contain species code, the second has to contain species proportion (species proportions should sum up to 1); (2) a string containing information on species composition. Note that this string has to be formated as follows: PW 60PR 40, or PW 60 PR 40, or PW60 PR40. |
region |
Region number (1-3) |
ecosite |
Id of ecosite, required for Region 1. Eg.: NW17 |
WG |
Working group, required for Region 1. |
age |
Stand age, required for Region 1. |
stocking |
Stocking, required for Region 3. Default = 1 |
site_class. |
Site class (1-4), required for Region 2 and 3. |
Standard forest unit code
species2unit(species_composition = "PR 90 BW 10", region = 2, site_class = 1)
species2unit(species_composition = "SB 80SW 5LA 5BW 5BF 5", region = 2, site_class = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.