plot.bayesm.hcoef
is an S3 method to plot 3 dim arrays of hierarchical coefficients. Arrays are of class bayesm.hcoef
with dimensions: cross-sectional unit
# S3 method for bayesm.hcoef
plot(x,names,burnin,...)
An object of S3 class, bayesm.hcoef
a list of names for the variables in the hierarchical model
no draws to burnin (def:
standard graphics parameters
Peter Rossi, Anderson School, UCLA, perossichi@gmail.com.
Typically, plot.bayesm.hcoef
will be invoked by a call to the generic plot function as in plot(object)
where object is of class bayesm.hcoef
. All of the bayesm
hierarchical routines return draws of hierarchical coefficients in this class (see example below). One can also simply invoke plot.bayesm.hcoef
on any valid 3-dim array as in plot.bayesm.hcoef(betadraws)
.
plot.bayesm.hcoef
is also exported for use as a standard function, as in plot.bayesm.hcoef(array)
.
rhierMnlRwMixture
,rhierLinearModel
,
rhierLinearMixture
,rhierNegbinRw
if (FALSE) out=rhierLinearModel(Data,Prior,Mcmc); plot(out$betadraws)
Run the code above in your browser using DataLab