powered by
Plots sampling paths obtained with MCMC-sampling in BayesX
plotsample(data, ask = TRUE, ...) plotsample.coda(data, ask = TRUE, ...)
Either the name of a file or a data frame containing the sample.
plotsample will plot separate sampling paths for each parameter. If ask=TRUE, the user will be prompted before showing the next plot.
plotsample
ask=TRUE
Further parameters to be passed to the internal call of plot such as ylim, etc.
plot
ylim
Felix Heinzl, Andreas Brezger, Thomas Kneib
plotsample simply plots sampling paths while plotsampe.coda makes use of the plotting facilities available in package coda.
plotsampe.coda
coda
drawmap,plotautocor,plotnonp,plotsurf,
drawmap
plotautocor
plotnonp
plotsurf
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