Description Usage Arguments Value Functions
View source: R/calcspeciesprobs_singlesitetheta.R
Probability of detection and occupation for a single ModelSite and parameter set
1 2 3 | pdetection_occupied.ModelSite.theta(Xobs, v.b)
poccupy.ModelSite.theta(Xocc, u.b, lv.coef = NULL, LVvals = NULL)
|
Xobs |
A matrix of detection covariates, each row is a visit. |
v.b |
Covariate loadings. Each row is a species, each column a detection covariate |
Xocc |
A matrix of occupancy covariates. Must have a single row. Columns correspond to covariates. |
u.b |
Covariate loadings for occupancy. Each row is a species, each column an occupancy covariate. |
lv.coef |
Loadings for the latent variables. Each row is a species, each column corresponds to a LV. |
LVvals |
A matrix of LV values. Each column corresponds to a LV. To condition on specific LV values, provide a matrix of row 1. |
A matrix of detection probabilities for each row of Xobs and each species. Rows in returned value correspond to rows in Xobs, columns correspond to species.
A matrix of occupancy probabilities. Each row corresponds to a row of LVvals, each column to a species.
poccupy.ModelSite.theta
: The probability of occupation for given LV values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.