ggtimeline: ggtimeline

Description Usage Arguments Value Examples

View source: R/charts.R

Description

ggtimeline

Usage

1
ggtimeline(x, begin, end, group = F)

Arguments

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

Value

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.

Examples

1
timeline(timeline_dates, "1/1/2015", "1/3/2018")

G-Thomson/gthor documentation built on May 6, 2019, 5:08 p.m.