sch_nr_activities {criticalpath} | R Documentation |
Number of activities in a schedule as an integer value.
sch_nr_activities(sch)
sch |
A schedule object. |
A integer value indicating the number of activities.
sch_add_activity()
, sch_nr_relations()
, sch_add_activities()
,
sch_activities()
, sch_change_activities_duration()
,
sch_critical_activities()
, sch_get_activity()
, sch_has_any_relation()
.
sch <- sch_new()
sch_nr_activities(sch) # 0
sch <- sch_new() %>%
sch_add_activity(1L, "Only one", 0L) %>%
sch_plan()
sch_nr_activities(sch) # 1