- x
data.frame to be coerced into the goal object. Each line of
x must represent a single tree. As a minimum requirement, there must
be a column for the tree id, the species id, the time (in years), the
diameter at breast height (dbh), each.
- tree_id_col
name of the column in x which contains the tree
id's (character, required, must not contain missing values)
- species_id_col
name of the column in x which contains the
species id's. Must be an object of one of the fe_species classes
supported by this package. This column is required, must not contain
missing values.
- time_yr_col
name of the column in x which provides time
information in years (character, required, must not contain missing
values)
- dbh_cm_col
name of the column in x which contains the dbh in cm
(character, required, must not contain missing values)
- area_ha
size of the stand area in ha (numeric. It is possible
to have no defined stand area; in this case area_ha must be
NULL, and n_rep_ha_col must be given (with no missing values).
- stand_id
arbitrary id of the stand (character, default:
"my_fe_stand")
- layer_key_col
name of the column in x that contains codes for
the stand layer a given tree belongs to. These codes are whole numbers.
The following values are allowed: 1 - Main stand, 2 - Understorey,
3 - Pregeneration (ger: "Vorausverjuengung"), 4 - Remnant trees, hold over
trees, veteran trees (ger: "Nachhiebsreste", "Ueberhaelter", "Altbaeume").
Must not contain missing values if provided. If not provided, it will be
set to 1 (main stand) for every tree.
- age_yr_col
name of the column in x which provides the tree ages
in years (character, optional, may contain missing values)
- height_m_col
name of the column in x which provides the tree
heights in m (character, optional, may contain missing values)
- crown_base_height_m_col
name of the column in x which provides
the crown base heights in m (character, optional, may contain
missing values)
- crown_radius_m_col
name of the column in x which provides the
crown radii in m (character, optional, may contain missing values)
- removal_col
name of the column in x which provides the tree's
removal status. If TRUE, this indicates the tree was removed or dead
at the time indicated in age_yr_col (character, optional,
must not contain missing values if provided). If not provided, the removal
status will be FALSE for all trees in the resulting fe_stand
object.
- ingrowth_col
name of the column in x which provides the tree's
ingrowth status. If TRUE, this indicates a tree that grew newly in
at the time indicated in age_yr_col (character, optional,
must not contain missing values if provided). If not provided, the ingrowth
status will be FALSE for all trees in the resulting fe_stand
object.
- n_rep_ha_col
name of the column in the trees data frame which provides
each tree's representation number per ha. Not required if a stand area is
provided under area_ha. If a stand outline is given, n_rep_ha will
be always recalculated based on the outline and the tree positions.
- small_trees
An fe_stand object does contain an extra slot for
small trees, defined as trees which are too small to have an own dbh (i.e.
having a height > 1.3 m). So far, this slot is still experimental. The only
requirement is that it is a data.frame. Such a data.frame can
be provided via this parameter, it will be directly put into the goal
object's small_trees slot. The default is a data.frame with
zero rows and zero columns (data.frame()).
- verbose
logical, if TRUE (default) the tree size
variables will be checked for plausible orders of magnitude after
successful construction of the fe_stand object. In case of a
potential implausibility, a warning will be raised. The purpose of this
mechanism is to avoid unit mismatches.