plot: Quoted name of the plot variable. used to differentiate the plot's trees, and calculate the number of sampled plots.
dbh: Quoted name of the diameter at breast height variable, in cm.
plot_area: Quoted name of the plot area variable, or a numeric vector with the plot area value. The plot area value must be in square meters.
class_interval: Numeric value for the class interval used to classify the data. Default: 5.
dbh_min: Numeric value for minimum diameter value to be considered in the classifications. dbh values smaller than this will be dismissed from the classification. Default: 5.
licourt_index: Numeric value for the start licourt index used. Default: 2.
output: Character value for the desired output. Can be either "table" for the classified data table, "model" to get a lm object with the linear model fitted, "coefs" to get a vector with the Meyer coefficients, or "full", to get a list with all restuls. Default: "table".
Returns
a data frame, a lm object, a vector or a list, according to the output argument.
Examples
library(forestmangr)data("exfm20")head(exfm20)# To get the table with the regulated forest:bdq_meyer(exfm20,"transect","dbh",1000)# Use different class interval values to get different results:bdq_meyer(exfm20,"transect","dbh",1000, class_interval =10)# It's possible to get different outputs:bdq_meyer(exfm20,"transect","dbh",1000, output="model")bdq_meyer(exfm20,"transect","dbh",1000, output="coefs")bdq_meyer(exfm20,"transect","dbh",1000, output="full")
References
Souza, A. L. and Soares, C. P. B. (2013) Florestas Nativas: estrutura, dinamica e manejo. Vicosa: UFV.