getPoints | R Documentation |
Returns the contents of the Points
slot of an NCRNbirds object. The returned data can be filtered to meet various criteria.
getPoints(object, times = NA, years = NA, points = NA, output = "dataframe")
object |
An NCRNbirds object or a list of such objects. |
times |
A numeric vector of length 1. Returns only data from points where the number of years that a point has been visited is greater or
equal to the value of |
years |
A numeric vector. Returns data only from points where the years the point was visited matches one of the values in |
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.