Fork me on GitHub

timeline

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='http://cran.r-project.org')
require(timeline)
data(ww2)
timeline(ww2, ww2.events, 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.

timelineShinyDemo()

Or try the Shiny App from the RStudio Server at http://spark.rstudio.com/jbryer/timeline/.

Development Version

Install the latest development version using devtools:

require(devtools)
install_github('timeline','jbryer')

= 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