Age slices out of yield tables are typically required for finding out the site index for a given age-height pair, or for extracting a yield table value when age and site index are given.
ytable_age_slice(age, variable, ytable)
A (named) vector representing the vertical slice of the desired
yield table variable. The names are the site indexes as defined in the
yield table's element $site_index
(in the same order) with the
prefix "si_".
The age (in years) for which the time slice has to be drawn
Name of the yield table variable for which the slice is to be taken
An object of class fe_yield_table
If the age provided by the user is not directly contained in the table,
linear interpolation and also extrapolation is used for obtaining the age
slice. Currently, this is only done inside the general age span covered by
the table (slot $age_coverage
of the yield table object). For ages
outside this range, the slice is given for the nearest covered age extreme,
and a warning is issued.
Other yield table functions:
fe_yield_table()
,
plot.fe_yield_table()
,
si_to_mai_age()
,
si_to_mai_max()
,
site_index()
,
stocking_level()
,
yield_tables_for_species
,
ytable_lookup()
,
ytable_max_slice()
# Get the yield table heights of the Wiedemann 1943 Scots pine table at age
# 73
ytable_age_slice(
fe_ytable_pine_wiedemann_moderate_1943,
age = 73,
variable = "h_q_m"
)
Run the code above in your browser using DataLab