View source: R/calcspeciesprobs_singlesitetheta.R
pdetection_occupied.ModelSite.theta | R Documentation |
Probability of detection and occupation for a single ModelSite and parameter set
pdetection_occupied.ModelSite.theta(Xobs, det.b) ## S3 method for class 'ModelSite.theta' poccupy(Xocc, occ.b, lv.b = NULL, lv.v = NULL)
Xobs |
A matrix of detection covariates, each row is a visit. |
det.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. |
occ.b |
Covariate loadings for occupancy. Each row is a species, each column an occupancy covariate. |
lv.b |
Loadings for the latent variables. Each row is a species, each column corresponds to a LV. |
lv.v |
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 lv.v, each column to a species.
poccupy
: 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.