CDEseq {MSoutcomes} | R Documentation |
Identification of confirmed and sequential disability worsening and improvement events
Description
Identify sequential disability worsening and improvement events confirmed over a specified time period, using roving baseline EDSS. 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 worsening or improvement event, the minimum EDSS score within the confirmation period, regardless of the recency of a relapse, becomes the new baseline EDSS score.
Usage
CDEseq(Visits, mconf = 3 * 30.25, tRelapse = 30)
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 or improvement. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
Value
A data frame.
References
Sharmin, et al. European Journal of Neurology 2022;29(8):2321-2334.
Examples
data(SampleData)
output<-CDEseq(SampleData)