Learn R Programming

BayesX (version 0.3-3)

plotsample: Plotting Sampling Paths

Description

Plots sampling paths obtained with MCMC-sampling in BayesX

Usage

plotsample(data, ask = TRUE, ...)
plotsample.coda(data, ask = TRUE, ...)

Arguments

data

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

ask

plotsample will plot separate sampling paths for each parameter. If ask=TRUE, the user will be prompted before showing the next plot.

...

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

Author

Felix Heinzl, Andreas Brezger, Thomas Kneib

Details

plotsample simply plots sampling paths while plotsampe.coda makes use of the plotting facilities available in package coda.

See Also

drawmap,plotautocor,plotnonp,plotsurf,

Examples

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

Run the code above in your browser using DataLab