CDI {MSoutcomes} | R Documentation |
Identification of confirmed disability improvement events
Description
Identify disability improvement events confirmed over a specified time period. The identification of events is based on clinical visit records, with each record including entries for patient code, visit date, EDSS score, and days since the most recent relapse. If a baseline EDSS score is not provided, it is determined as the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse. Following a confirmed disability improvement event, the minimum EDSS score within the confirmation period, regardless of the recency of a relapse, becomes the new baseline EDSS score. By default, only identify those improvement events that are sustained for the remainder of the follow-up.
Usage
CDI(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
Arguments
Visits |
A data frame consisting of 6 columns: ID, dateEDSS, EDSS, daysPostRelapse (days since most recent relapse), bEDSS (baseline EDSS score), base.date (date of bEDSS). |
mconf |
Confirmation period (days) for EDSS improvement. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
sustained |
If TRUE, the default, identifies only those EDSS improvement events sustained for the remaining recorded follow-up. |
Value
A data frame.
References
Kalincik, et al. Brain 2015;138(11):3287-3298.
Examples
data(SampleData)
output<-CDI(SampleData)