findRows: find the pattern in the row

Description Usage Arguments Value Examples

View source: R/gantt.R

Description

find the pattern in the row

Usage

1
findRows(gantt, a = gantt$names[1], type = "used", stat = "max")

Arguments

gantt
a
type

"used"/"pause"/"pattern"

stat

max, min, sum, length

Value

used: filled spots, pause: unfilled spots between filled spots, pattern: show the pattern (returns a list)

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")
findRows(gantt,"actor")

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