boxplotbeta: Draws boxplots of the posterior distribution of regression...

Description Usage Arguments Value Author(s) See Also

View source: R/boxplotbeta.R

Description

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.

Usage

1
  boxplotbeta(x, beta, variable)

Arguments

x

an object of class ESS

beta

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.

variable

name of the predictor of interest, or its position in dataX.

Value

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.

Author(s)

Benoit Liquet, b.liquet@uq.edu.au,
Marc Chadeau-Hyam m.chadeau@imperial.ac.uk,
Leonardo Bottolo l.bottolo@imperial.ac.uk,
Gianluca Campanella g.campanella11@imperial.ac.uk

See Also

sample.beta


R2GUESS documentation built on May 2, 2019, 1:47 p.m.