AddNode.ProgressionGraph: Adds nodes to an object of type 'ProgressionGraph'

Description Usage Arguments Value

View source: R/progressionGraph.R

Description

Adds nodes to an object of type ProgressionGraph, will throw an exception if attempting to add a new node with the same name as an existing node

Usage

1
2
AddNode.ProgressionGraph(object, nodeNames, visitSchedule = NULL,
  isVisitNode = FALSE)

Arguments

object

the ProgressionGraph to add new nodes

nodeNames

a vector of strings to be added as nodes in the graph

visitSchedule

Either a VisitSchedule object which is the visit schedule to be used for the new nodes to be added or NULL if no visit schedule is being used (or visit Schedule is to be added later)

isVisitNode

A logical value. Is the new node a ‘visit’ node, i.e. a node for which the transition into it is unknown until the next visit

Value

a new ProgressionGraph with the new nodes added


scientific-computing-solutions/badminton documentation built on May 29, 2019, 3:43 p.m.