ranef
outputExtract Best Unbiased Predictors (BUPs) of latent variables such as
occupancy or abundance from a unmarkedRanef
object produced by the
ranef
function. Either the posterior mean or median can be requested.
# S4 method for unmarkedRanef
bup(object, stat = c("mean", "mode"), ...)
A vector of length M for single-season models, where M is the number of sites. A matrix MxT for multi-season models, where T is the number of primary periods. Values in the vector or matrix are the BUPs (occupancy or abundance states).
A unmarkedRanef
object, the output of a call to ranef
.
The statistic to calculate from the posterior, either mean or mode.
Other arguments, currently ignored
ranef
, unmarkedRanef-class