The
boxplot.beta
function draws a boxplot representation of the
posterior distribution of regression coefficient(s) for a
user-defined predictor. The function requires a preliminary run of
sample.beta
.
boxplotbeta(x, beta, variable)
an object of class ESS
a list produced by
sample.beta
representing the regression coefficient of
the predictor of interest with respect to the outcome(s) in the response
matrix.
name of the predictor of interest, or its position in
dataX
.
Returns a matrix containing samples (iterations in rows) of the regression
coefficients (q
columns) corresponding to the variable specified by the argument
variable
with respect to all outcomes.