autocor.plot {PrevMap}R Documentation

Plot of the autocorrelgram for posterior samples

Description

Plots the autocorrelogram for the posterior samples of the model parameters and spatial random effects.

Usage

autocor.plot(object, param, component.beta = NULL, component.S = NULL)

Arguments

object

an object of class 'Bayes.PrevMap'.

param

a character indicating for which component of the model the autocorrelation 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.

component.beta

if param="beta", component.beta is a numeric value indicating the component of the regression coefficients; default is NULL.

component.S

if param="S", component.S can be a numeric value indicating the component of the spatial random effect, or set equal to "all" if the autocorrelgram should be plotted for all the components. Default is NULL.

Author(s)

Emanuele Giorgi e.giorgi@lancaster.ac.uk

Peter J. Diggle p.diggle@lancaster.ac.uk


[Package PrevMap version 1.5.4 Index]