Learn R Programming

BayesX (version 0.2-3)

plotautocor: Computing and Plotting Autocorrelation Functions

Description

Computes and plot autocorrelation functions for samples obtained with MCMC in BayesX

Usage

plotautocor(data, ask = TRUE, lag.max=100, ...)

Arguments

Examples

Run this code
res <- read.table(system.file("examples/nonparametric_f_x_pspline_sample.raw", 
                              package="BayesX"), header=TRUE)
plotautocor(res)
plotautocor(res, lag.max=50)

Run the code above in your browser using DataLab