bup {unmarked} | R Documentation |
Extract Best Unbiased Predictors (BUPs) of latent variables from ranef
output
Description
Extract 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.
Usage
## S4 method for signature 'unmarkedRanef'
bup(object, stat = c("mean", "mode"), ...)
Arguments
object |
A |
stat |
The statistic to calculate from the posterior, either mean or mode. |
... |
Other arguments, currently ignored |
Value
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).
See Also
[Package unmarked version 1.5.0 Index]