Fork me on GitHub


Create timeline Figures in R

The timeline package provides a function to create timeline figures in a style similar to Preceden.

install.packages('timeline', repos='')
timeline(ww2,, event.spots=2, event.label='', event.above=FALSE)

Timeline of World War II

Shiny App

The ww2 demo (type demo(ww2) at the R console to start) provides many variations of the timeline figure. There is also a Shiny app to explore some of the parameters to the timeline function.


Or try the Shiny App from the RStudio Server at

Development Version

Install the latest development version using devtools:


= Github page; = RSS XML Feed; = External website; = Portable Document File (PDF)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Creative Commons License
Formulas powered by MathJax