Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

data

Either the name of a file or a data frame containing the sample.

ask

plotautocor will plot separate autocorrelation functions for each parameter. If ask=TRUE, the user will be prompted before showing the next plot.

lag.max

Maximum number of lags to be considered.

...

Further parameters to be passed to the internal call of plot such as ylim, etc.

Author(s)

Felix Heinzl, Thomas Kneib

Examples

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

BayesX

R Utilities Accompanying the Software Package BayesX

v0.3-1
GPL-2 | GPL-3
Authors
Nikolaus Umlauf [aut, cre], Thomas Kneib [aut], Nadja Klein [aut], Felix Heinzl [ctb], Andreas Brezger [ctb], Daniel Sabanes Bove [ctb]
Initial release
2019-08-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.