SumRelAbund | R Documentation |
Produces a summary of raw detections by species for plotting and analysis.
SumRelAbund(
object,
parks = NA,
points = NA,
AOU = NA,
years = NA,
times = NA,
band = 1,
visits = NA,
CalcByYear = FALSE,
max = TRUE,
sort = FALSE,
abund = 10,
output = "dataframe",
...
)
object |
An |
parks |
A character vector of park codes. Only visits within these parks will be returned. |
points |
A character vector. The names of one or more points where the data was collected. |
AOU |
A character vector. One or more AOU (American Onothological Union) codes of bird species.Detections will be summed by each individual species. |
years |
A vector of numbers. Will return only data from the indicated years. |
times |
A numeric vector of length 1 passed on to |
band |
A numeric vector. Defaults to 1. Only observations whose |
visits |
The visits that will be used for the matrix. Defautls to |
CalcByYear |
Logical, if |
max |
Logical, if |
sort |
Logical, if |
abund |
Numeric, When |
output |
Either "dataframe" (the default) or "list". Note that this must be in quotes. Determines the type of output from the function. |
... |
Additional arguments passed to |
Summarizes relative abundance by species (mean detections per point) for a NCRNbirds
object or a list
of such objects.
If visits
is left as NA
then the visits used will be 1 through the number of visits indicated in the visits
slot.
Otherwise a numeric vectore e.g. c(1,2) can be used to select which visits are used.
SumRelAbund
requires at least 2 monitoring points or at least 2 years of data to be specified, unless both CalcByYear
and
sort
are TRUE
.
If sort
is TRUE
, then data will be combined accross the visits, points and years indicated by the other arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.