# Monospecific stand
trees <- norway_spruce_1_fe_stand$trees
species_profile(trees$species_id, trees$height_m)
# Two-species mixed stand
trees <- spruce_beech_1_fe_stand$trees
species_profile(trees$species_id, trees$height_m)
# Selection forest
trees <- selection_forest_1_fe_stand$trees
species_profile(trees$species_id, trees$height_m)
# weigh with basal area (i.e. dbh^2)
species_profile(trees$species_id, trees$height_m, weights = trees$dbh_cm^2)
# weigh with inverse basal area (i.e. 1 / dbh^2)
species_profile(
trees$species_id, trees$height_m, weights = 1 / trees$dbh_cm^2
)
Run the code above in your browser using DataLab