get.gantt.info: Gather the information to create a Gantt chart

Description Usage Arguments Value Author(s) See Also Examples

View source: R/gantt.R

Description

Allows the user to enter the information for a Gantt chart.

Usage

1
 get.gantt.info(format="%Y/%m/%d")

Arguments

format

the format to be used in entering dates/times. Defaults to YYYY/mm/dd. See strptime for various date/time formats.

Value

The list used to create the chart. Elements are:

labels

The task labels to be displayed at the left of the chart.

starts,ends

The task starts/ends as POSIXct dates/times.

priorities

Task priorities as integers in the range 1 to 10. There can be less than 10 levels of priority, but if priorities do not start at 1 (assumed to be the highest), the default priority colors will be calculated from 1.

Author(s)

Jim Lemon

See Also

gantt.chart

Examples

1
2
 cat("Enter task times using HH:MM (hour:minute) format\n")
 get.gantt.info("%H:%M")

Example output

Enter task times using HH:MM (hour:minute) format
Enter the label, start and finish time for each task.
Default format for time is year/month/day e.g. 2005/2/22
Enter a blank label to end.
Task label - 
$labels
[1] NA

$starts
[1] NA

$ends
[1] NA

$priorities
[1] NA

plotrix documentation built on Aug. 16, 2017, 5:03 p.m.