coeftab_plot | R Documentation |
Plots coefficient tables produced by coeftab
, clustered either by models or by parameter names.
coeftab_plot( x , y , pars , col.ci="black" , by.model=FALSE ,
prob=0.95 , ... )
x |
Object produced by |
y |
|
pars |
Optional vector of parameter names or indexes to display. If missing, all parameters shown. |
col.ci |
Color to draw confidence intervals |
by.model |
Cluster estimates by model instead of by parameter (default) |
prob |
Probability mass for confidence intervals. Default is 0.95. |
This function plots the tabular output of coeftab
, using a dotchart
. By default, estimates are grouped by parameter, with a row for each model. Model's without a parameter still appear as a row, but with no estimate. By setting by.model=TRUE
, the dotchart will instead be grouped by model, with each row being a parameter.
MAP estimates are displayed with percentile confidence (credible) intervals. Default is 95% intervals. Use prob
to change the interval mass.
Richard McElreath
coeftab
, dotchart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.