sumSapDBHDist: sumSapDBHDist: calculates DBH distribution of saplings

Description Usage Arguments Value Examples

View source: R/sumSapDBHDist.R

Description

This function calculates DBH distribution by 1cm size classes. Must run importData first.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
sumSapDBHDist(
  speciesType = c("all", "native", "exotic"),
  canopyForm = c("canopy", "all"),
  units = c("density", "ba"),
  park = "all",
  from = 2007,
  to = 2019,
  QAQC = FALSE,
  locType = "VS",
  panels = 1:4,
  output,
  ...
)

Arguments

speciesType

Allows you to filter on native, exotic or include all species.

"all"

Default. Returns all species.

"native"

Returns native species only

"exotic"

Returns exotic species only

canopyForm

Allows you to filter on canopy species only or include all species.

"all"

Returns all species, including low canopy species.

"canopy"

Default. Returns canopy-forming species only

units

Allows you to choose which metric to calculate: basal area or stem density

"density"

Default. Returns stems/ha

"ba"

Returns basal area in sq.m/ha

Value

returns a dataframe with one row for each plot and either density or BA

Examples

1
2
importData()
sap_diam_dist <- sumSapDBHDist(park = 'RICH', speciesType = 'native', from = 2015, to = 2018, units = 'ba')

KateMMiller/forestMIDNarch documentation built on April 9, 2021, 3:50 p.m.