getVisits | R Documentation |
Returns the contents of the Visits
slot of an NCRNbirds object. The returned data can be filtered to meet various criteria.
getVisits(
object,
parks = NA,
points = NA,
years = NA,
times = NA,
visits = NA,
reps = NA,
site = NA,
dist = NA,
wind = NA,
sky = NA,
output = "dataframe"
)
object |
An |
parks |
A character vector of park codes. Only data from these parks will be returned. |
points |
A character vector of point names. Only data from these points will be returned. |
years |
A numeric vector. Returns data only from points where the years the point was visited matches one of the
values in |
times |
A numeric vector of length 1. Returns only data from points where the number of years that a point has been vistied
is greater or equal to the value of |
visits |
A length 1 numeric vector, defaults to |
reps |
A length 1 numeric vector,defaults to |
site |
Character. Select sites in "Forest" or "Grassland" habitats. Defaults to selecting both site types. |
dist |
Character. Filters data by disturbance code(s). See network documentation for list and meanings of codes. |
wind |
Numeric. Filters data by wind code(s). See network documentation for list and meanings of codes. |
sky |
Numeric. Filters data by sky condition code(s). See network documentation for list and meanings of codes. |
output |
Either "dataframe" (the default) or "list". Note that this must be in quotes. Determines the type of output from the function. |
This function returns point data either from a single NCRNbirds object or a list of such objects.
The default output is adata.frame
. However, if object
is a list and output
is "list" then a list
of data.frame
s will be returned. The name of each element in this list will correspond to the ParkCode
in each NCRNbirds object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.