Description Usage Arguments Value
View source: R/progressionGraph.R
Allows an entire arm to be added to an object of type ProgressionGraph
The Weibull shape parameter for the rates for each node will be 1,
to change use SetShape.ProgressionGraph
1 2 | AddArm.ProgressionGraph(object, armName, armProgression, deathNode = "death",
edges = "immediate", visitSchedule = NULL, isVisitNode = FALSE)
|
object |
the |
armName |
the name of the arm, for example "control" |
armProgression |
a vector of states subjects experience for example "progressing", "progressed". This vector should not include the "death" state |
deathNode |
the name of the death node in the graph, which should already exist |
edges |
determines which edges are to be added for arm
must be one of |
visitSchedule |
Either a |
isVisitNode |
A logical value: Are the new node ‘visit’ nodes, i.e. nodes for which the transition into it is unknown until the next visit |
a new ProgressionGraph
with the arm added. The new nodes will be of
the form armName.armProgression[i]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.