Description Usage Arguments Value Examples
ggtimeline
1 | ggtimeline(x, begin, end, group = F)
|
x |
is a data.frame with three columns |
begin |
is the date the timeline begins in the form "dd/mm/yyyy" |
end |
is the date the timeline ends in the form "dd/mm/yyyy" |
group |
Boolean denoting whether activities should be grouped in terms of colour |
This function draws a timeline given a data.frame with three or four columns. These columns should correspond to activity, start and end. The start and end columns should be dates in the form of "dd/mm/yyyy". You also need to specific when you want the time table to begin and end. Only have a "group" column if you have group = TRUE.
1 | timeline(timeline_dates, "1/1/2015", "1/3/2018")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.