PIRA | R Documentation |
Identify progression independent of relapse activity (PIRA) events confirmed over a specified time period. The identification of events is based on clinical visit records, each record including entries for patient code, visit date, EDSS score, and days since 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 PIRA event, the minimum EDSS score within the confirmation period, regardless of the recency of a relapse, becomes the new baseline EDSS score. Following a relapse, the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse, becomes the new baseline EDSS score. By default, identify PIRA events that are sustained for the remainder of the follow-up.
PIRA(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
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 progression. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
sustained |
If TRUE, the default, identifies only those PIRA events sustained for the remaining recorded follow-up. |
A data frame.
Dzau, et al. Journal of Neurology, Neurosurgery & Psychiatry 2023;94(12):984-991.
data(SampleData)
output<-PIRA(SampleData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.