View source: R/joinQuadSpecies.R
joinQuadSpecies | R Documentation |
This function combines quadrat species data with species names and allows you to filter on species types, park, years, and visit type. Note that the Shrub guild also includes woody vine species. Species-level notes are returned. For quadrat-specific notes, use the joinQuadNotes() function.
joinQuadSpecies(
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"),
returnNoCover = FALSE,
...
)
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)
|
returnNoCover |
Logical. If FALSE (default), drops species with 0 includes species percent cover across all quadrats. Argument is helpful for generating a plot species list (use TRUE) or calculating average cover (use FALSE). |
... |
Other arguments passed to function. |
Returns a dataframe with a row for each species/visit combination for quadrat data
## Not run:
importData()
# compile quadrat data for invasive species in SARA for all years
SARA_quads <- joinQuadSpecies(park = 'SARA', speciesType = 'invasive')
# compile native species only for all parks in cycle 3
native_quads <- joinQuadSpecies(speciesType = 'native', from = 2014, to = 2017)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.