View source: R/posteriorSummary.R
posteriorSummary | R Documentation |
Estimates the posterior mean, median, and 95% credible limits for each parameter of a multi-scale occupancy model.
posteriorSummary(fit, burnin = 1, mcError = FALSE,
outputSummary = FALSE)
fit |
object of class occModel that contains data and previous state of the model's Markov chain |
burnin |
initial no. iterations of Markov chain to be omitted from calculations |
mcError |
logical switch to estimate Monte Carlo standard errors |
outputSummary |
logical switch to return values of posterior summary statistics |
This function estimates the posterior mean, median, and 95% credible limits for each parameter of a multi-scale occupany model using a Markov chain created by occModel
.
Prints estimates of posterior summary statistics. If mcError
=TRUE, the Monte Carlo standard errors of these estimates are computed. If outputSummary
=TRUE, the posterior summaries are returned in a list.
data(gobyDetectionData)
detections = occData(gobyDetectionData, "site", "sample")
fit = occModel(detectionMats=detections)
posteriorSummary(fit, burnin=100, mcError = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.