"trace"( obj, what = "sd", scales = c("same", "free"), layout = "col", aspect = "fill", ...)
"post"( obj, what ="sd", check = TRUE, scales = "same", layout = "row", lwd = 2, col, plot.points = FALSE, aspect = "fill", ... )
"pairs"( x, what = "sd", subset, col = NULL, pch = 16, cex = 0.2, scales = "free", ... )
MCmcmc
object.MCmcmc
object."sd"
or "var"
which
gives plots for the variance components (on the sd. scale),
"beta"
or "slope"
, which gives plots for
slope parameters and "alpha"
or "int"
, which
gives plots for the intercept parameters.pairs
only
the first element is used to decide whether all panles should
have the same axes."col"
parameters are displayed columnwise
by method, if "row"
they are displayed row-wise."fill"
) is to
make a panels take up as much place as possible.pairs
.pairs
.Lattice
function called:
trace
calls xyplot
from the coda
package,
post
calls densityplot
from the coda
package, pairs
calls pairs
from the graphics
package.
Lattice
plot.
Lattice
plot is returned, which means that it must
print
ed when these functions are called in a batch program or
inside another function or for-loop. trace
plots traces of the sampled chains,
post
plots posterior densities of the parameters and
pairs
plots a scatter-plot matrix of bivariate marginal
posterior distributions.
MCmcmc
,
plot.MCmcmc
,
ox.MC
,
sbp.MC
# Load a provided MCmcmc object
data( ox.MC )
trace.MCmcmc( ox.MC, what="beta" )
pairs.MCmcmc( ox.MC, what="sd" )
Run the code above in your browser using DataLab