powered by
Computes basal area of any given tree. Actually provides the area for a given circle of radius x.
gtree(x, in.m2)
The value of basal area.
is the vector having tree diameter, in cm
is an indicator variable: 1 to obtain the result in m2 if x was measured in cm; and 0 to obtain the resulting area in the same units of x.
Christian Salas-Eljatib
No details are given
#Creating an example dataframe dbh<- round(rnorm(4,25,20),1); #Using the function in.m2=1 gtree(dbh,in.m2)
Run the code above in your browser using DataLab