getPlotNames | R Documentation |
Returns the names of plots from an NPSForVeg
object that meet various criteria.
getPlotNames(
object,
type = "all",
visits = NA,
years = NA,
subparks = NA,
output = "vector",
...
)
object |
An |
type |
One of three options indicating the type of plots to be considered. Must be in quotes. Options are:
|
visits |
A numeric vector. Returns only data from plots where the number of plot visits matches one of the values in |
years |
A numeric vector. Returns only plot data from plots where the years the plot was visited matches one of the values in |
subparks |
A character vector. Returns only data from plots where the sub-park the plot is in matches one of the values in |
output |
Either "vector" (the default) or "list". Note that this must be in quotes. Determines the type of output from the function |
... |
Other arguments that are passed on to |
This function is a wrapper for getPlots()$Plot_Name
. It first calls getPlots
and
then extracts the Plot_Name
field. It is meant as a convenience function.
## Not run:
midn <- importMIDN("C:/NETN/R_Dev/data/NPSForVeg/MIDN")
APCO_latest <- getPlotNames(midn, years = 2022:2024, parks = "APCO")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.