SetIsResetEdge.ProgressionGraph: Set the 'isResetEdge' property of edges in the...

Description Usage Arguments Value

View source: R/progressionGraph.R

Description

If there is a patient switch time at time = 3 and the subject transitions from control.progressing to active.progressed at patient time = 2, then although patient time is unchanged, we would now like the patient switch time to be reset so it now occurs at 2 (time of transition) + 3 (original switch time) = 5 If this behaviour is required then set isResetEdge to be TRUE for the control.progressing -> active.progressed edge. In all other cases (as is the default) isResetEdge should be set to FALSE

Usage

1
SetIsResetEdge.ProgressionGraph(object, from, to, isResetEdge)

Arguments

object

A ProgressionGraph object

from

A list of nodes e.g. if from = c("a","a","b") and to=c("c","d","a") then the edges a -> c, a-> d and b->a will have their isResetEdge properties set.

to

See from

isResetEdge

Logical value of isResetEdge for

Value

object with the appropriate isResetEdge properties set


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