View source: R/joinMicroShrubData.R
joinMicroShrubData | R Documentation |
This function compiles shrub data collected in the microplots. For microplot or species-level notes run the joinMicroNotes function. Note that in 2006, only 1 microplot was sampled. Note that from 2006 to 2009, stem tallies were recorded instead of species, but average percent cover is NA. For more information on how methods evolved for shrubs in NETN, refer to the Summary of Major Protocol Changes and Deviations document located in the Long-Term Forest Monitoring Protocol IRMA Project: https://irma.nps.gov/Datastore/Reference/Profile/2189101.
joinMicroShrubData(
park = "all",
from = 2006,
to = as.numeric(format(Sys.Date(), "%Y")),
QAQC = FALSE,
panels = 1:4,
locType = c("VS", "all"),
eventType = c("complete", "all"),
speciesType = c("all", "native", "exotic", "invasive"),
valueType = c("all", "midpoint", "classes", "averages"),
...
)
park |
Combine data from all parks or one or more parks at a time. Valid inputs:
|
from |
Year to start analysis, ranging from 2006 to current year |
to |
Year to stop analysis, ranging from 2006 to current year |
QAQC |
Allows you to remove or include QAQC events.
|
panels |
Allows you to select individual panels from 1 to 4. Default is all 4 panels (1:4). If more than one panel is selected, specify by c(1, 3), for example. |
locType |
Allows you to only include plots that are part of the GRTS sample design or include all plots, such as deer exclosures.
|
eventType |
Allows you to include only complete sampling events or all sampling events
|
speciesType |
Allows you to filter on native, exotic or include all species.
|
valueType |
Allows you to return cover class midpoints (numeric) or cover class ranges (text)
|
... |
Other arguments passed to function. |
returns a dataframe with shrub data collected in microplots
## Not run:
importData()
# native shrubs in MORR all years
native_shrubs <- joinMicroShrubData(park ='MORR', speciesType = 'native')
# all parks with exotic shrubs in most recent survey
exotic_shrubs <- joinMicroShrubData(from = 2015, to = 2018, speciesType = 'exotic')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.