network_diagram: Creates a network diagram of tasks in a project.

Description Usage Arguments Examples

View source: R/critical_path.R

Description

Creates a network diagram of tasks in a project.

Usage

1
network_diagram(df, use_name_as_label = FALSE)

Arguments

df

Task input. This can either be a data frame of raw data (i.e not from the 'critical_path' function) or can the return value from calling the 'critical path' function. If the data is raw, if must have columns "ID, name, duration, dependencies" in that order. These columns need not be named but they must be in that order. Type 'taskdata1' into the console for an example of raw data.

use_name_as_label

Boolean specifying whether to use the task name as the label for the network diagram. The default is to use the task ID. critical path elements.

Examples

1
2
3
4
5
6
7
8
9
# Use raw example data
data <- taskdata1
# Create a network diagram chart using the raw data
network_diagram(data)

res <- critical_path(data)

# Create a second network diagram using the processed data
network_diagram(res)

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