plot.ordinalbayes | R Documentation |
Trace Plot and/or Density Plot of MCMC Output.
## S3 method for class 'ordinalbayes'
plot(x, trace = TRUE, density = FALSE, ...)
x |
an |
trace |
a logical value. If TRUE, trace plots are produced for each variable in the chain. |
density |
a logical value. If TRUE, density plots are produced for each variable in the chain. |
... |
other arguments. |
No returned value, called for side effects
data("cesc")
fit<-ordinalbayes(Stage~1, data=cesc, x=cesc[,5:45],
model="regressvi",gamma.ind="fixed",
pi.fixed=0.99, adaptSteps=1000, burnInSteps=1000, nChains=2,
numSavedSteps=2000, thinSteps=2, seed=26)
plot(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.