sch_nr_activities {criticalpath} | R Documentation |
Nr. of Activities
Description
Number of activities in a schedule as an integer value.
Usage
sch_nr_activities(sch)
Arguments
sch |
A schedule object. |
Value
A integer value indicating the number of activities.
See Also
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()
.
Examples
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
[Package criticalpath version 0.2.1 Index]