R/fct_figures.R
fig_timeline.Rd
Function to create a simple timeline figure using ggplot2.
ggplot2
fig_timeline(data, events)
Data frame to use.
Data frame containing information about all events. Used to create the right labels in the timeline figure.
A ggplot2 object.