Description Usage Arguments Examples
View source: R/critical_path.R
Creates a network diagram of tasks in a project.
1 | network_diagram(df, use_name_as_label = FALSE)
|
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. |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.