View source: R/joinMicroSaplings.R
joinMicroSaplings | R Documentation |
This function compiles sapling data collected in microplots, with a record for each sapling measured, its Status, and DBH. If no live saplings were observed, returns "None present" for ScientificName and 0 for Count. If a record has a blank ScientificName and associated data, it means it's a missing value. These are rare, but mostly occur in data <2011.
joinMicroSaplings(
park = "all",
from = 2007,
to = as.numeric(format(Sys.Date(), "%Y")),
QAQC = FALSE,
panels = 1:4,
locType = c("VS", "all"),
eventType = c("complete", "all"),
status = c("active", "live", "dead", "all"),
speciesType = c("all", "native", "exotic", "invasive"),
canopyForm = c("all", "canopy"),
...
)
park |
Combine data from all parks or one or more parks at a time. Valid inputs:
|
from |
Year to start analysis, ranging from 2007 to current year |
to |
Year to stop analysis, ranging from 2007 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
|
status |
Filter by live, dead, or all. Acceptable options are:
|
speciesType |
Allows you to filter on native, exotic or include all species.
|
canopyForm |
Allows you to filter on species growth form
|
... |
Other arguments passed to function. |
Returns a dataframe with a row for each species/visit combination for quadrat data
## Not run:
importData()
# compile sapling data for invasive species in VAFO for all years
VAFO_quads <- joinQuadSaplings(park = 'VAFO', speciesType = 'invasive')
# compile native saplings only for all parks in cycle 3
native_quads <- joinQuadSaplings(speciesType = 'native', from = 2015, to = 2018)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.