sch_nr_activities: Nr. of Activities

Description Usage Arguments Value See Also Examples

View source: R/sch_activity.R

Description

Number of activities in a schedule as an integer value.

Usage

1

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

1
2
3
4
5
6
7
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

rubens2005/criticalpath documentation built on Feb. 6, 2022, 10:54 p.m.