joinCWDData | R Documentation |
This function combines and calculates CWD volume for each plot. Must run importData() first. Function only works for complete visits.
joinCWDData(
park = "all",
from = 2006,
to = as.numeric(format(Sys.Date(), "%Y")),
QAQC = FALSE,
panels = 1:4,
locType = c("VS", "all"),
output = "short",
units = c("ha", "acres"),
...
)
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
|
output |
Allows you to return all columns or just the most important columns for analysis. Valid inputs are "short" and "verbose". |
units |
Calculates CWD Volume based on different units.
|
... |
Other arguments passed to function. |
returns a dataframe with CWD volume for each plot, species, decay class combination
## Not run:
importData() #imports data
# Compile CWD data for MABI for most recent survey and return in ft^3/acre
cwd_data <- joinCWDData(park = 'MABI', from = 2016, to = 2019, units = 'acres')
# Compile CWD data for all parks and years in m^3/ha, including QAQC events.
cwd_data <- joinCWDData(park = 'all', QAQC = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.