makeUMF | R Documentation |
Makes an unmarked frame for analysis using the unmarked package
makeUMF(
object,
parks = NA,
points = NA,
AOU = NA,
years = NA,
times = NA,
visits = NA,
reps = NA,
frametype = "pcount",
sitecovs = NULL,
visitcovs = NA,
obscovslist = NULL,
trend = "none",
output = "umf",
...
)
object |
An NCRNbirds object or a list of such objects. |
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. |
years |
A vector of numbers. Will return only data from the indicated years. |
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 |
visits |
A length 1 numeric vector, defaults to |
reps |
A numeric vector of length 1. Defaults to NA. Returns only data from points where the number of years that a point has been
visited is greater or equal to the valuemax,site,dist,wind,sky, of |
frametype |
Indicates the type of |
sitecovs |
A |
visitcovs |
A characeter vector with names of visit covariates to be used which are obtained from the |
obscovslist |
A named |
trend |
Used for multi-year data sets to indicate if the year of observation shoud be included in the model. Options are "none" the default, "numeric" to indicate that year should be treated as a numeric value and "factor" to indicate that year should be treated as a factor. Note that if the trend is set to "numeric" it is centered to improve the odds of the model successfully fitting. |
output |
Either "umf" (the defautlt) or "list". Controls the output when |
... |
Additional arguments passed to |
This function simplifies the process for fitting of occupancy or N-mixture models (Royal 2004, Kery et al. 2005) to data in an NCRNbirds object
or a list of such objects. The data is first extracted from the object(s) using the CountXVisit
funciton. The data is then fed to
the unmarkedFramePCount
or unmarkedFrameOccu
function. The resulting object can then be passed to \
unmarkedBirds
for analysis.
Either an unmarkedFrameOccu
or an unmarkedFramePcount
object.
Kery, M. Royle, J.A. and Schmid. 2005. Modeling avian abundance from replicated counts using binomail mixutre models. Ecological Applications. 15: 1450-1461.
Royle, J. A. 2004. N-Mixture models for estimating population size from spatially replicated counts. Biometrics 60: 108-115.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.