numSlots: numSlots

Description Usage Arguments Value Examples

View source: R/gantt.R

Description

numSlots

Usage

1
numSlots(gantt, a = gantt$names[1])

Arguments

gantt

a gantt object (created by makeGantt)

a

an element

Value

Returns number of time slots - also counting non-connected slots

Examples

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

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