image.bma {BMS} | R Documentation |
Plots a grid with signs and inclusion of coefficients vs. posterior model probabilities for the best models in a 'bma' object:
## S3 method for class 'bma' image( x, yprop2pip = FALSE, order.by.pip = TRUE, do.par = TRUE, do.grid = TRUE, do.axis = TRUE, cex.axis = 1, ... )
x |
a list of class bma (cf. |
yprop2pip |
if |
order.by.pip |
with |
do.par |
Defaults to |
do.grid |
|
do.axis |
|
cex.axis |
font size for the axes (cf. |
... |
Parameters to be passed on to |
Under default settings, blue corresponds to positive sign, red to a negative sign, white to non-inclusion.
coef.bma for the coefficients in matrix form, bms for creating 'bma' objects.
Check http://bms.zeugner.eu for additional help.
data(datafls) model=bms(datafls,nmodel=200) #plot all models image(model,order.by.pip=FALSE) image(model,order.by.pip=TRUE,cex.axis=.8) #plot best 7 models, with other colors image(model[1:7],yprop2pip=TRUE,col=c("black","lightgrey"))