Learn R Programming

geoCount (version 1.150120)

plotACF: Auto-correlation Plot for Latent Variables

Description

This function plots auto-correlation curves for latent variables.

Usage

plotACF(S.mcmc, lags = NULL, ...)

Arguments

S.mcmc
a matrix (or data.frame) with each row containing the posterior samples of one latent variable
lags
the maximum number of lags; the default "NULL" will result in $10*\log_{10}(N/m)$ where N is the number of observations and m the number of series
...
more plotting parameters

Value

No return value. A plot of auto-correlation curves.

Details

This function uses acf function to compute the estimates of auto-correlation.

Examples

Run this code
## Not run: 
# plotACF(res.m$S.posterior)
# ## End(Not run)

Run the code above in your browser using DataLab