Last data update: 2014.03.03

R: Didanosine versus Zalcitabine in HIV Patients
aidsR Documentation

Didanosine versus Zalcitabine in HIV Patients

Description

A randomized clinical trial in which both longitudinal and survival data were collected to compare the efficacy and safety of two antiretroviral drugs in treating patients who had failed or were intolerant of zidovudine (AZT) therapy.

Format

A data frame with 1408 observations on the following 9 variables.

patient

patients identifier; in total there are 467 patients.

Time

the time to death or censoring.

death

a numeric vector with 0 denoting censoring and 1 death.

CD4

the CD4 cells count.

obstime

the time points at which the CD4 cells count was recorded.

drug

a factor with levels ddC denoting zalcitabine and ddI denoting didanosine.

gender

a factor with levels female and male.

prevOI

a factor with levels AIDS denoting previous opportunistic infection (AIDS diagnosis) at study entry, and noAIDS denoting no previous infection.

AZT

a factor with levels intolerance and failure denoting AZT intolerance and AZT failure, respectively.

Note

The data frame aids.id contains the first CD4 cell count measurement for each patient. This data frame is used to fit the survival model.

Source

http://www.biostat.umn.edu/~brad/data.html, http://www.biostat.umn.edu/~brad/software.html

References

Goldman, A., Carlin, B., Crane, L., Launer, C., Korvick, J., Deyton, L. and Abrams, D. (1996) Response of CD4+ and clinical consequences to treatment using ddI or ddC in patients with advanced HIV infection. Journal of Acquired Immune Deficiency Syndromes and Human Retrovirology 11, 161–169.

Guo, X. and Carlin, B. (2004) Separate and joint modeling of longitudinal and event time data using standard computer packages. The American Statistician 58, 16–24.

Examples

summary(aids.id)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(JM)
Loading required package: MASS
Loading required package: nlme
Loading required package: splines
Loading required package: survival
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/JM/aids.Rd_%03d_medium.png", width=480, height=480)
> ### Name: aids
> ### Title: Didanosine versus Zalcitabine in HIV Patients
> ### Aliases: aids aids.id
> ### Keywords: datasets
> 
> ### ** Examples
> 
> summary(aids.id)
    patient         Time           death             CD4            obstime 
 1      :  1   Min.   : 0.47   Min.   :0.0000   Min.   : 0.000   Min.   :0  
 2      :  1   1st Qu.:10.23   1st Qu.:0.0000   1st Qu.: 3.317   1st Qu.:0  
 3      :  1   Median :13.20   Median :0.0000   Median : 6.083   Median :0  
 4      :  1   Mean   :12.63   Mean   :0.4026   Mean   : 7.129   Mean   :0  
 5      :  1   3rd Qu.:16.23   3rd Qu.:1.0000   3rd Qu.:10.440   3rd Qu.:0  
 6      :  1   Max.   :21.40   Max.   :1.0000   Max.   :19.235   Max.   :0  
 (Other):461                                                                
  drug        gender       prevOI             AZT          start  
 ddC:237   female: 45   noAIDS:160   intolerance:292   Min.   :0  
 ddI:230   male  :422   AIDS  :307   failure    :175   1st Qu.:0  
                                                       Median :0  
                                                       Mean   :0  
                                                       3rd Qu.:0  
                                                       Max.   :0  
                                                                  
      stop            event       
 Min.   : 0.470   Min.   :0.0000  
 1st Qu.: 2.000   1st Qu.:0.0000  
 Median : 2.000   Median :0.0000  
 Mean   : 2.856   Mean   :0.1049  
 3rd Qu.: 2.000   3rd Qu.:0.0000  
 Max.   :19.570   Max.   :1.0000  
                                  
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>