Description Usage Format Details Source References Examples
Subset of data on migraine treatments collected by Tammy Kostecki-Dillon.
| 1 | 
A data frame with 4152 observations on 133 subjects for the following 9 variables.
idPatient id.
timetime in days relative to the onset of treatment, which occurs at time 0.
dostime in days from the start of the study, January 1 of the first year of the study.
hatypea factor with levels Aura Mixed No Aura, the type of
migraine experienced by a subject.
ageat onset of treatment, in years.
airqa measure of air quality.
medicationa factor with levels none reduced continuing,
representing subjects who discontinued their medication, who continued but at a reduced
dose, or who continued at the previous dose.
headachea factor with levels no yes.
sexa factor with levels female male.
The data consist of headache logs kept by 133 patients in a treatment program in which bio-feedback was used to attempt to reduce migraine frequency and severity. Patients entered the program at different times over a period of about 3 years. Patients were encouraged to begin their logs four weeks before the onset of treatment and to continue for one month afterwards, but only 55 patients have data preceding the onset of treatment.
Personal communication from Georges Monette (and adapted from his description of the data).
Kostecki-Dillon, T., Monette, G., and Wong, P. (1999). Pine trees, comas, and migraines. York University Institute for Social Research Newsletter, 14:2.
| 1 | 
       id              time             dos             hatype    
 Min.   :  1.00   Min.   :-29.00   Min.   :  98.0   Aura   :1710  
 1st Qu.: 33.00   1st Qu.:  3.00   1st Qu.: 384.0   Mixed  : 457  
 Median : 67.00   Median : 12.00   Median : 623.0   No Aura:1985  
 Mean   : 66.39   Mean   : 15.46   Mean   : 646.7                 
 3rd Qu.:100.00   3rd Qu.: 24.00   3rd Qu.: 950.0                 
 Max.   :133.00   Max.   : 99.00   Max.   :1239.0                 
      age             airq            medication   headache       sex      
 Min.   :18.00   Min.   : 3.00   none      : 785   no :1486   female:3545  
 1st Qu.:33.00   1st Qu.:18.00   reduced   : 981   yes:2666   male  : 607  
 Median :44.00   Median :24.00   continuing:2386                           
 Mean   :42.36   Mean   :24.83                                             
 3rd Qu.:50.00   3rd Qu.:29.00                                             
 Max.   :66.00   Max.   :73.00                                             
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.