Learn R Programming

⚠️There's a newer version (0.8.3) of this package.Take me there.


dotwhisker

dotwhisker is an R package for quickly and easily generating dot-and-whisker plots of regression results, either directly from model objects or from tidy data frames. It provides a convenient way to create highly customizable plots for presenting and comparing statistics. It can be used to plot coefficients or other estimates (e.g., predicted probabilities) within a model or compare them across different models. The estimates are presented as dots with confidence interval whiskers, and predictors can be grouped in brackets.

To install:

  • the latest released version: install.packages("dotwhisker").
  • the latest developing version: devtools::install_github("fsolt/dotwhisker").

More details are available at:

https://cran.r-project.org/web/packages/dotwhisker/vignettes/dotwhisker-vignette.html

Copy Link

Version

Install

install.packages('dotwhisker')

Monthly Downloads

4,913

Version

0.2.0.5

License

MIT + file LICENSE

Maintainer

Yue Hu

Last Published

March 4th, 2016

Functions in dotwhisker (0.2.0.5)

dwplot

Dot-and-Whisker Plots of Regression Results
secret_weapon

Generate a 'Secret Weapon' Plot of Regression Results from Multiple Models
small_multiple

Generate a 'Small Multiple' Plot of Regression Results
relabel_predictors

Relabel the Predictors in a Tidy Data Frame of Regression Results
relabel_y_axis

Relabel the Y-Axis of a Dot-Whisker Plot
by_2sd

Rescale regression results by multiplying by 2 standard deviations
add_brackets

Add Labelled Brackets to Group Predictors in a Dot-and-Whisker Plot