critical_path: Generate the critical path for a collection of related tasks

Description Usage Arguments Value Examples

View source: R/critical_path.R

Description

Generate the critical path for a collection of related tasks

Usage

1
critical_path(df, gantt = F, network = F, start_date = Sys.Date())

Arguments

df

A data frame of tasks with columns ID, name, duration, id's of predecessrs (as a comma separated string) in that order. Name of columns does not matter, only order. Type 'taskdata1' into the console for an example of valid data.

gantt

Boolean that specifies whether or not to produce a gantt chart of the results.

network

Boolean that specifies whether or not to produce a network diagram of the results

start_date

Starting date for the project. Defaults to the current date.

Value

A list of results.

Examples

1
2
3
4
# Use provided sample data
df <- taskdata1

res <- critical_path(df)

bgreenawald/projmanr documentation built on Nov. 7, 2019, 4:37 p.m.