R-package Cohort2Trajectory creates patient orientated treatment trajectories from cohorts defined in OHDSI ATLAS. The package can be used with access to OMOP CDM database. The package creates discrete and continuous time trajectories (and outputs them as .csv file) which describe patients' treatment through time.
Apache License 2.0
3
stars
0
forks
source link
Column for indicating the sequential passing of the same state #10
Add a column to the output which indicates the ordinal number of the sequential passing of the same state.
If there are two states of S1 in a row then the output should be:
state, ... , seq_ordinal,
S1, ..., 1,
S1, ...,2
Add a column to the output which indicates the ordinal number of the sequential passing of the same state. If there are two states of S1 in a row then the output should be: state, ... , seq_ordinal, S1, ..., 1, S1, ...,2