plot.mcdraws | R Documentation |
Trace, density and autocorrelation plots for selected components of an mcdraws
object.
## S3 method for class 'mcdraws'
plot(x, vnames, nrows, ncols, ask = FALSE, ...)
x |
an object of class |
vnames |
optional character vector to select a subset of parameters. |
nrows |
number of rows in plot layout. |
ncols |
number of columns in plot layout. |
ask |
ask before plotting the next page; default is |
... |
arguments passed to |
ex <- mcmcsae_example(n=50)
sampler <- create_sampler(ex$model, data=ex$dat)
sim <- MCMCsim(sampler, store.all=TRUE)
plot(sim, c("beta", "u", "u_sigma", "v_sigma"), ask=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.