gtree: Computes basal area of any given tree

View source: R/gtree.r

gtreeR Documentation

Computes basal area of any given tree

Description

Computes basal area of any given tree. Actually provides the area for a given circle of radius x.

Usage

gtree(x, in.m2)

Arguments

x

is the vector having tree diameter, in cm

in.m2

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.

Details

No details are given

Value

The value of basal area.

Author(s)

Christian Salas-Eljatib

Examples


#Creating an example dataframe
dbh<- round(rnorm(4,25,20),1);
#Using the function
in.m2=1
gtree(dbh,in.m2)


biometrics documentation built on April 4, 2025, 12:35 a.m.