Plots the autocorrelogram for the posterior samples of the model parameters and spatial random effects.
dens.plot(
object,
param,
component.beta = NULL,
component.S = NULL,
hist = TRUE,
...
)
an object of class 'Bayes.PrevMap'.
a character indicating for which component of the model the density plot is required: param="beta"
for the regression coefficients; param="sigma2"
for the variance of the spatial random effect; param="phi"
for the scale parameter of the Matern correlation function; param="tau2"
for the variance of the nugget effect; param="S"
for the spatial random effect.
if param="beta"
, component.beta
is a numeric value indicating the component of the regression coefficients; default is NULL
.
if param="S"
, component.S
can be a numeric value indicating the component of the spatial random effect. Default is NULL
.
logical; if TRUE
a histrogram is added to density plot.
additional parameters to pass to density
.