sch_reference: Reference

Description Usage Arguments Value See Also Examples

View source: R/sch_schedule.R

Description

A reference from project origin, for example, a book, a paper, a corporation, or nothing.

Usage

1
sch_reference(sch, new_value = NULL)

Arguments

sch

A schedule object.

new_value

A new reference.

Value

See Also

sch_new(), sch_activities(), sch_relations(), sch_title(), sch_plan(), sch_duration(), sch_validate().

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
sch <- sch_new() %>%
  sch_add_activities(
    id = c(1L, 2L, 3L, 4L),
    name = c("A", "B", "C", "D"),
    duration = c(3L, 4L, 9L, 1L)
  ) %>%
  sch_add_relations(
    from = c(1L, 2L, 2L),
    to   = c(2L, 3L, 4L)
  ) %>%
  sch_plan()

sch_reference(sch) # empty
sch %<>% sch_reference("This schedule is from...")
sch_reference(sch)

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