makeGantt: Make Gantt Object

Description Usage Arguments Value Examples

View source: R/gantt.R

Description

Make Gantt Object

Usage

1
makeGantt(gantt, names, timespan = 30, time.format = "%d/%m %H:%M")

Arguments

gantt

The Gantt data from TAO

names

Names of the rows in the Gantt chart (don't have to be the same as in the PCI)

timespan

Duration of a time slot

time.format

The POSSIX time format that the data was formatted (see https://www.stat.berkeley.edu/~s133/dates.html). Use \%d/0 when the Gantt-output was made using 0 for month

Value

Returns a Gantt object

Examples

1
2
response<-"{'response':'1/8 10:30;1/8 13:00 - 1/8 14:00;1/8 11:30 - 1/8 12:30'}"
makeGantt(response,names=c("waitress","actor","pianist"),timespan=30,time.format="%d/%m %H:%M")

openPCI/OpenPCIScoring documentation built on June 10, 2021, 1:18 p.m.