CDW {MSoutcomes} | R Documentation |
Identification of confirmed disability worsening events
Description
Identify disability worsening 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, Expanded Disability Status Scale (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 worsening 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 worsening events that are sustained for the remainder of the follow-up.
Usage
CDW(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 worsening. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
sustained |
If TRUE, the default, identifies only those EDSS worsening 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<-CDW(SampleData)