joinRegenData: joinRegenData: compiles seedling and sapling data

Description Usage Arguments Value Examples

View source: R/joinRegenData.R

Description

This function combines seedling and sapling data, and calculates stocking index at the 1 sq. m level. Quadrat percent cover is also averaged across the quadrats, and only includes cover of seedling sized tree species (i.e. the original protocol method). Stocking index thresholds are 2 for areas with low deer, and 8 for areas with high deer. Must run importData first.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
joinRegenData(
  speciesType = c("all", "native", "native_noROBPSE", "exotic"),
  canopyForm = c("canopy", "all"),
  units = c("sq.m", "ha", "acres"),
  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, including Robinia pseudoacacia

"native_noROBPSE"

Returns native species except Robinia pseudoacacia

"exotic"

Returns exotic species only, not including Robinia pseudoacacia

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

Calculates seedling and sapling densities based on different units.

"sq.m"

Default. Returns seedling and sapling densities per square meter.

"ha"

Returns seedling and sapling densities per hectare

"acres"

Returns densities per acre

Value

returns a dataframe with seedling and sapling densities, stocking index, quadrat seedling cover and quadrat seedling frequency. Quadrat frequency is based on cover > 0 in a quadrat.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
importCSV('./forest_csvs/')
# Compile seedling and sapling data for all parks and all species in most recent cycle,
# and only include seedlings >=15cm tall (default).
regen_data <- joinRegenData(canopyForm = 'all', from = 2015, to = 2018)

# compile regen data for canopy-forming (default), native species of all size classes in VAFO for all years
VAFO_regen <- joinRegenData(park = 'VAFO', speciesType = 'native')

# Compile seedling and sapling densities as stems/ha for all parks in most recent survey
regen_data <- joinRegenData(units = 'ha', from = 2015, to = 2018)

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