Learn R Programming

silviculture (version 0.2.0)

calc_dominant_metric: Calculates dominant height or dominant diameter

Description

Calculates dominant height or dominant diameter

Usage

calc_dominant_metric(nmax, ntress, metric, max_trees = 100)

Value

A numeric vector

Arguments

nmax

Index of first diametric class with > 100 trees; if there are no 100 trees, it is the index of the maximum

ntress

Number of trees per hectare

metric

Height of the diametric class or diameter

max_trees

Number to trees to calculate dominant metric