dbh2barea: Internal function for samplePlotR package

Description Usage Arguments Value Details Examples

Description

Functions to calculate the parameters from the sample.

Usage

1
dbh2barea(x, mscale = c("mm", "cm"))

Arguments

x

a numeric vector. For plot should be a x cartesian data.

mscale

a character indicating the mesured scale (mm or cm).

y

a numeric vector from a cartesian y data

r

a numeric vetor representing a radius of a circle

col

a R color indicator

bg

a R color indicator for the graphic background.

statistics

a function that calculates the statistics of interest from the dataframe. The first argument should be the dataframe with the data and preferably should

Value

a vector of the statistics

Details

Basic function to calculate descriptive statistics from a sample of a forest inventory. Basal area is calculate in 'cm' and the parameter mscale is the scale of the imput data.

Examples

1
2
3
4
## Not run: 
dbh2barea(x=seq(10:100, by=10), mscale= "mm")

## End(Not run)

vitorpaciello/Rsampleplot documentation built on May 15, 2019, 3:21 p.m.