joinCWDData: joinCWDData: compile coarse woody debris data.

Description Usage Arguments Value Examples

View source: R/joinCWDData.R

Description

This function combines calculates CWD volume for each plot. Must run importData first. Note that plots in Deer Exclosures are not sampled for CWD and will not be returned.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
joinCWDData(
  units = c("ha", "acres"),
  park = "all",
  from = 2007,
  to = 2019,
  QAQC = FALSE,
  locType = "VS",
  output,
  ...
)

Arguments

units

Calculates CWD Volume based on different units.

"ha"

Default. Returns CWD volume as cubic m/hectare

"acres"

Returns CWD volume as cubic ft/ acre

Value

returns a dataframe with CWD volume for each plot, one with cubic m/ha and cubic ft/acre

Examples

1
2
3
4
5
6
importData() #imports using default odbc
# Compile CWD data for FRSP for most recent survey and return in ft^3/acre
cwd_data <- joinCWDData(park = 'FRSP', from = 2015, to = 2018, units = 'acres')

# Compile CWD data for all parks (default) for most recent survey and return in m^3/ha (default)
cwd_data <- joinCWDData(from = 2015, to = 2018)

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