plot.ordinalbayes {ordinalbayes} | R Documentation |
Trace Plot and/or Density Plot of MCMC Output.
Description
Trace Plot and/or Density Plot of MCMC Output.
Usage
## S3 method for class 'ordinalbayes'
plot(x, trace = TRUE, density = FALSE, ...)
Arguments
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. |
Value
No returned value, called for side effects
Examples
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)
[Package ordinalbayes version 0.1.1 Index]