Learn R Programming

ForestElementsR (version 2.0.1)

si_to_mai_max: Convert a Standard Site Index Into an maximum MAI Site Index

Description

A less common, but sometimes useful way of site indexing is to give the site function converts a standard site index into such an maximum mai site index. Typically, the stand age where the maximum mai is obtained increases from better to lesser site index classes. See si_to_mai_age for an alternative mai based site indexing method.

Usage

si_to_mai_max(si, mai_variable, ytable)

Value

The requested maximum mai value corresponding to the given standard site index

Arguments

si

Standard site index to be converted, must correspond to the site index nomenclature of the yield table to be used (param ytable, see below).

mai_variable

Character, name of the mai_variable to be used. Must be one if the mai variables listed in the fe_yield_table object provided with the parameter ytable.

ytable

An object of class fe_yield_table

See Also

Other yield table functions: fe_yield_table(), plot.fe_yield_table(), si_to_mai_age(), site_index(), stocking_level(), yield_tables_for_species, ytable_age_slice(), ytable_lookup(), ytable_max_slice()

Examples

Run this code
 mai_var <- "mai_m3_ha_yr" # mai in volume over bark before harvest

 si_to_mai_max(2.3, mai_var, fe_ytable_larch_schober_moderate_1946)
 si_to_mai_max(0.7, mai_var, fe_ytable_larch_schober_moderate_1946)
 si_to_mai_max(2.3, mai_var, fe_ytable_beech_wiedemann_moderate_1931)
 si_to_mai_max(0.7, mai_var, fe_ytable_beech_wiedemann_moderate_1931)

 mai_var <- "red_mai_m3_ha_yr" # mai in vol. under bark minus harvest losses
 si_to_mai_max(2.3, mai_var, fe_ytable_larch_schober_moderate_1946)
 si_to_mai_max(0.7, mai_var, fe_ytable_larch_schober_moderate_1946)
 si_to_mai_max(2.3, mai_var, fe_ytable_beech_wiedemann_moderate_1931)
 si_to_mai_max(0.7, mai_var, fe_ytable_beech_wiedemann_moderate_1931)

Run the code above in your browser using DataLab