joinMicroShrubData: joinMicroShrubData: compiles shrub data collected in...

Description Usage Arguments Value Examples

View source: R/joinMicroShrubData.R

Description

This function combines shrub stem (cycle 1) and percent cover (cycle 2+) data from microplots. Must run importData first.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
joinMicroShrubData(
  speciesType = c("all", "native", "exotic"),
  numMicros = 3,
  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

numMicros

Allows you to select 1, 2, or 3 microplots of data to summarize

Value

returns a dataframe with shrub data collected in microplots

Examples

1
2
3
4
5
6
importData()
# native shrubs in RICH all years
native_shrubs <- joinMicroShrubData(park ='RICH', speciesType = 'native')

# all parks with exotic shrubs in most recent survey
exotic_shrubs <- joinMicroShrubData(from = 2015, to = 2018, speciesType = 'exotic')

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