sch_title {criticalpath}R Documentation

Title

Description

A title for project identification. It depends on user of the class. It is used to set or get project's title.

Usage

sch_title(sch, new_value)

Arguments

sch

A schedule object.

new_value

A new title.

Value

See Also

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

Examples

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_title(sch) # empty
sch %<>% sch_title("New title")
sch_title(sch)


[Package criticalpath version 0.2.1 Index]