plotACF | R Documentation |
Plots the ACF (autocorrelation function) of the Markov chain for each of 1-4 parameters of a multi-scale occupancy model.
plotACF(fit, paramName, burnin = 1)
fit |
object of class occModel that contains data and previous state of the model's Markov chain |
paramName |
vector of names of parameters to be plotted |
burnin |
initial no. iterations of Markov chain to be omitted from plot |
This function plots the ACF (autocorrelation function) of the Markov chain created by occModel
for each of 1-4 parameters of a multi-scale occupancy model.
data(gobyDetectionData)
detections = occData(gobyDetectionData, "site", "sample")
fit = occModel(detectionMats=detections)
plotACF(fit, c('beta.(Intercept)', 'alpha.(Intercept)', 'delta.(Intercept)'), burnin=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.