getTrajectoriesDiscrete | R Documentation |
This function outputs a data.frame object which describes the movement of patients between the defined states
getTrajectoriesDiscrete(
cdm,
cohortData,
stateDuration = 30,
stateSelection = 1,
statePriorityVector = NULL,
absorbingStates = NULL,
oocFix = "None",
studyName = "",
addPersonalData = TRUE,
allowedStatesList = list()
)
cdm |
a cdm object |
cohortData |
A data.frame object which is queried with getCohortsPatients function |
stateDuration |
The length of a discrete state |
stateSelection |
The chosen state selection method |
statePriorityVector |
The order of priority for states |
absorbingStates |
The absorbing states: patient trajectory ends with it |
oocFix |
The method to use for replacing "OUT OF COHORT" states with more relevant states |
studyName |
name chosen for study, is used as a folder name |
addPersonalData |
Logical, indicating whether or not to add personal data for each patient |
allowedStatesList |
A list object which indicates accessible states from said state |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.