crown_diameter_silva_core: Core function for the silva tree crown diameter calculation

View source: R/crown_diameter_silva.R

crown_diameter_silva_coreR Documentation

Core function for the silva tree crown diameter calculation

Description

See documentation of crown_diameter_silva for most information, this function is the workhorse behind, and should never be called directly by a user.

Usage

crown_diameter_silva_core(species_id, dbh_cm, height_m)

Arguments

species_id

Vector of species ids (see crown_diameter_silva), but for this core function to work, species_id must be provided as character. This will and should be not checked inside this function, because if used as intended, that has happened before calling it.

dbh_cm

Vector of breast height diameters (see crown_diameter_silva)

height_m

Vector of tree heights (see crown_diameter_silva)

Details

The function crown_diameter_silva is fully vectorized, inputs are recycled according to the tibble rules

Value

Tree crown diameter (see crown_diameter_silva)


ForestElementsR documentation built on April 3, 2025, 7:47 p.m.