Learn R Programming

ForestElementsR (version 2.0.1)

ytable_max_slice: Take a Max Slice out of an fe_yield_table_object

Description

Max slices out of yield tables are typically required for finding out the mai max site index for a given height based standard site index.

Usage

ytable_max_slice(variable, ytable)

Value

A (named) vector representing the max 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_".

Arguments

variable

Name of the yield table variable for which the slice is to be taken

ytable

Name of the yield table variable for which the slice is to be taken

Details

A max slice in the sense of this function means a vector that, for each of the yield table's standard site indexes, contains the table's max value of the variable of interest.

See Also

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_age_slice(), ytable_lookup()

Examples

Run this code
  ytable_max_slice("mai_m3_ha_yr", fe_ytable_beech_wiedemann_moderate_1931)

Run the code above in your browser using DataLab