Description Usage Arguments Details Value
Get alpha and beta parameters given output of an MSOM model run in Stan or JAGS.
1 | get_ab(iD, o, yr)
|
iD |
inputData element from output of |
o |
out element from output of |
yr |
the year corresponding to input |
Gets the alpha and beta parameters from the msom. Alpha parameters are related to true presence of species, beta parameters are related to detection.
A data.table with iterations of all alpha and beta parameters, which are species-specific. Columns for chain, parameter, value (value is a sample of the posterior), par (alpha or beta), ab_ind (which alpha/ beta parameter, which is the first dimension in parameter), spp_id (species index, second dimension in parameter), spp (species name), and year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.