Description Usage Arguments Value
Add a numeric value or function as the transition rate for an edge of the DAG for a specific patient and calendar time. If a rate already exists for this edge, patient and calendar time then the previous value is overwritten. See the Vignette for further details.
1 2 | InsertRate.EventSim(object, fromNode, toNode, calendarStartTime = NULL,
patientStartTime = NULL, rate)
|
object |
The |
fromNode |
The rate being added is for subjects leaving this node (i.e. state) entering |
toNode |
The rate being added is for subjects arriving into this node from |
calendarStartTime |
The calendar start time for this rate to be used. The rate will only be used from this
time until the next calendar time switch. If NULL this rate is used for
all calendar start times. Note calendar start time must match a calendar time in |
patientStartTime |
The patient start time for this rate to be used |
rate |
Transition rate. Either a (non-negative) value or a function. See Vignette for further details |
object
with the appropriate rates added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.