plot.indices: Mangrove Indices for Plot Method

Description Usage Arguments Examples

View source: R/plot.indices.R

Description

This function allows you to calculate the Holdridge Complexity Index and Mean Stand Diameter for pcqm data.

Usage

1
2
3
plot.indices(x, plotnumber = "plotnumber", dbh = "dbh",
  species = "species", height = "height", plot.width = 10,
  plot.length = 10, sizebin = F)

Arguments

plotnumber

Column name in data frame for plot number (numerical). Default name is "plotnumber". First plot number must be 1.

dbh

Column name in data frame for diameter at breast height. Default name is "dbh". Values must be in centimeters.

species

Column name in data frame for species. Default name is "species".

height

Column name in data frame for height (Optional). Default name is "height". Values must be in meters. When included, additional height-related outputs are displayed.

plot.width

Plot width measured in meters. Default is 10 meters.

plot.length

Plot length measured in meters. Default is 10 meters.

sizebin

Logical argument for displaying size class plot (Default is FALSE). If sizebin = TRUE, three graphs are generated: (1) an illustration of diameter size class proportions: <5 cm, 5–10 cm, and >10 cm DBH; (2) an illustration of tree height size class proportions: <5, 5–10, and >10 m; and (3) a scatterplot of the relationship between DBH and height.

Examples

1
2
plot.indices(mangrove_data)
plot.indices(mangrove_data, plotnumber = "Plot", species = "Species", plot.width = 5, sizebin=T)

gshideler/mangroveStructure documentation built on Oct. 31, 2021, 4:37 a.m.