plotautocor | R Documentation |
Computes and plot autocorrelation functions for samples obtained with MCMC in BayesX
plotautocor(data, ask = TRUE, lag.max=100, ...)
data |
Either the name of a file or a data frame containing the sample. |
ask |
|
lag.max |
Maximum number of lags to be considered. |
... |
Further parameters to be passed to the internal call of |
Felix Heinzl, Thomas Kneib
res <- read.table(system.file("examples/nonparametric_f_x_pspline_sample.raw",
package="BayesX"), header=TRUE)
plotautocor(res)
plotautocor(res, lag.max=50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.