
Generation of time-dependent CCI and comorbidities from the Charlson Comorbidity Index
Source:R/cci_timR.R
cci_timR.RdGeneration of time-dependent CCI and comorbidities from the Charlson Comorbidity Index
Arguments
- data
Full LPR dataset
- interval
Interval in which the CCIs should be calculated
- structure
Whether CCI should be the full 18 parametres or binned into 1, 2-3, 4-5 and 6+
- format
Whether the output should be in long or wide format
- comorb
Whether the specific comorbidites in the CCI score should be extracted. Default is FALSE.