Skip to contents

Function to create a simple timeline figure using ggplot2.

Usage

fig_timeline(data, events)

Arguments

data

Data frame to use.

events

Data frame containing information about all events. Used to create the right labels in the timeline figure.

Value

A ggplot2 object.