View source: R/fe_yield_table.R
fe_yield_table | R Documentation |
User Friendly Construction of an fe_yield_table Object from a Data Frame
fe_yield_table(
x,
name_orig,
name_int,
si_variable = "h_q_m",
mai_variable = NA
)
x |
Data frame to become an
The variable(s) named as the input parameters |
name_orig |
Name of the table in the language it was originally published |
name_int |
Internatonalized (i.e. English) version of the table name |
si_variable |
Character (vector), name(s) of the variable(s) (i.e. column(s) in x) which is/are used for site indexing. Usually, this will be stand heights. Some yield tables contain different definitions of stand heights (e.g. mean and dominant height). In order to enable site indexing by more than one height definition in such a case, more than one variable name can be provided here. At least one site index variable must be given to obtain a valid fe_yield_table object. |
mai_variable |
Character (vector), name(s) of the variable(s) (i.e.
column(s) in x) which can be used for mai-site indexing. Clearly, this will
be variables containing a mean annual increment (mai). Some yield tables
contain different definitions of mai (e.g. over- and under bark).
Therefore, more than one variable name can be provided here. If no mai
variable is provided ( |
An object of class fe_yield_table
, if the input allows to
build a valid one. If this is not the case, the function will terminate
with an error.
Other yield table functions:
plot.fe_yield_table()
,
si_to_mai_age()
,
si_to_mai_max()
,
site_index()
,
stocking_level()
,
yield_tables_for_species
,
ytable_age_slice()
,
ytable_lookup()
,
ytable_max_slice()
# Make fe_yield_table object from a very original-table-like data frame
ytable_pine_wiedemann_moderate_1943_raw |>
fe_yield_table(
name_orig = "Kiefer Wiedemann 1943 Maessige Durchforstung",
name_int = "Scots Pine Wiedemann 1943 Moderate Thinning",
si_variable = "h_q_m",
mai_variable = c("mai_m3_ha_yr", "red_mai_m3_ha_yr")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.