coeftab.plot: Plots of coefficient tables

coeftab_plotR Documentation

Plots of coefficient tables

Description

Plots coefficient tables produced by coeftab, clustered either by models or by parameter names.

Usage

coeftab_plot( x , y , pars , col.ci="black" , by.model=FALSE , 
    prob=0.95 , ... )

Arguments

x

Object produced by coeftab

y

NULL and unused. Required for compatibility with base plot

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.

Details

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.

Author(s)

Richard McElreath

See Also

coeftab, dotchart


rmcelreath/rethinking documentation built on Sept. 18, 2023, 2:01 p.m.