Learn R Programming

critpath (version 0.2.2)

plot_gantt: A Gantt chart

Description

A Gantt chart

Usage

plot_gantt(yourlist, show_dummy = FALSE, bar_size = 10)

Value

Draws a Gantt chart broken down into critical ("CR") and non-critical ("NC") activities. Marks total floats.

Arguments

yourlist

List of objects that make up the solution to the project management problem.

show_dummy

Decides whether dummy activities should be included in the chart. If so, set it to TRUE (set to FALSE by default).

bar_size

Thickness of the bar drawn for activity (set to 10 by default).

Examples

Run this code
x <- solve_pathAOA(cpmexample1, deterministic = TRUE)
plot_gantt(x)

Run the code above in your browser using DataLab