View source: R/fiteDNAoccModel.R
fitOccModel | R Documentation |
This function is called by occModel
– rather than directly by the user – and fits a multi-scale occupancy model using Bayesian methods (specifically, a Markov chain Monte Carlo (MCMC) algorithm).
fitOccModel(niter = 100, niterInterval = 10, y, K, X, W, V,
siteEffectInW, colNamesOfX, colNamesOfW, colNamesOfV)
niter |
no. iterations of MCMC algorithm |
niterInterval |
no. iterations for reporting progress of MCMC algorithm |
y |
M x J matrix of numbers of detections per sample |
K |
M x J matrix of numbers of replicates per sample |
X |
matrix of regressors associated with model parameter beta |
W |
array of regressors associated with model parameter alpha |
V |
array of regressors associated with model parameter delta |
siteEffectInW |
logical indicator of whether model parameter alpha contains M elements (that is, one element per site) |
colNamesOfX |
vector of names of regressors in X |
colNamesOfW |
vector of names of regressors in W |
colNamesOfV |
vector of names of regressors in V |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.