README.md

barRacer

R-CMD-check

The goal of barRacer is to provide a simple function to generate bar chart race animations using ggplot2 and gganimate.

Installation

This package is not yet on CRAN.

You can install the development version of barRacer from GitHub with:

# install.packages("devtools")
devtools::install_github("jl5000/barRacer")

Example

This simple example uses the gapminder dataset:

#install.packages("gapminder")
library(barRacer)

bar_chart_race(gapminder::gapminder, country, pop, year, title = "Population over time")

Acknowledgements

Feedback

If you have any issues or feedback, please do raise a Github Issue or create a Pull Request.



jl5000/barRacer documentation built on Dec. 22, 2020, 8:25 p.m.