Last data update: 2014.03.03

R: Mayo Clinic Primary Biliary Cirrhosis Data
pbc2R Documentation

Mayo Clinic Primary Biliary Cirrhosis Data

Description

Followup of 312 randomised patients with primary biliary cirrhosis, a rare autoimmune liver disease, at Mayo Clinic.

Format

A data frame with 1945 observations on the following 20 variables.

id

patients identifier; in total there are 312 patients.

years

number of years between registration and the earlier of death, transplantion, or study analysis time.

status

a factor with levels alive, transplanted and dead.

drug

a factor with levels placebo and D-penicil.

age

at registration in years.

sex

a factor with levels male and female.

year

number of years between enrollment and this visit date, remaining values on the line of data refer to this visit.

ascites

a factor with levels No and Yes.

hepatomegaly

a factor with levels No and Yes.

spiders

a factor with levels No and Yes.

edema

a factor with levels No edema (i.e., no edema and no diuretic therapy for edema), edema no diuretics (i.e., edema present without diuretics, or edema resolved by diuretics), and edema despite diuretics (i.e., edema despite diuretic therapy).

serBilir

serum bilirubin in mg/dl.

serChol

serum cholesterol in mg/dl.

albumin

albumin in gm/dl.

alkaline

alkaline phosphatase in U/liter.

SGOT

SGOT in U/ml.

platelets

platelets per cubic ml / 1000.

prothrombin

prothrombin time in seconds.

histologic

histologic stage of disease.

status2

a numeric vector with the value 1 denoting if the patient was dead, and 0 if the patient was alive or transplanted.

Note

The data frame pbc2.id contains the first measurement for each patient. This data frame is used to fit the survival model.

References

Fleming, T. and Harrington, D. (1991) Counting Processes and Survival Analysis. Wiley, New York.

Therneau, T. and Grambsch, P. (2000) Modeling Survival Data: Extending the Cox Model. Springer-Verlag, New York.

Examples

summary(pbc2.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/pbc.Rd_%03d_medium.png", width=480, height=480)
> ### Name: pbc2
> ### Title: Mayo Clinic Primary Biliary Cirrhosis Data
> ### Aliases: pbc2 pbc2.id
> ### Keywords: datasets
> 
> ### ** Examples
> 
> summary(pbc2.id)
       id          years                  status           drug    
 1      :  1   Min.   : 0.1123   alive       :143   placebo  :154  
 2      :  1   1st Qu.: 3.7085   transplanted: 29   D-penicil:158  
 3      :  1   Median : 6.2959   dead        :140                  
 4      :  1   Mean   : 6.4112                                     
 5      :  1   3rd Qu.: 8.8798                                     
 6      :  1   Max.   :14.3057                                     
 (Other):306                                                       
      age            sex           year   ascites   hepatomegaly spiders  
 Min.   :26.28   male  : 36   Min.   :0   No :288   No :152      No :222  
 1st Qu.:42.24   female:276   1st Qu.:0   Yes: 24   Yes:160      Yes: 90  
 Median :49.80                Median :0                                   
 Mean   :50.02                Mean   :0                                   
 3rd Qu.:56.72                3rd Qu.:0                                   
 Max.   :78.44                Max.   :0                                   
                                                                          
                     edema        serBilir         serChol          albumin    
 No edema               :247   Min.   : 0.300   Min.   : 120.0   Min.   :1.96  
 edema no diuretics     : 44   1st Qu.: 0.800   1st Qu.: 249.5   1st Qu.:3.31  
 edema despite diuretics: 21   Median : 1.350   Median : 309.5   Median :3.55  
                               Mean   : 3.216   Mean   : 369.5   Mean   :3.52  
                               3rd Qu.: 3.400   3rd Qu.: 400.0   3rd Qu.:3.80  
                               Max.   :28.000   Max.   :1775.0   Max.   :4.64  
                                                NA's   :28                     
    alkaline            SGOT         platelets      prothrombin   
 Min.   :  289.0   Min.   : 26.4   Min.   : 62.0   Min.   : 9.00  
 1st Qu.:  871.5   1st Qu.: 80.6   1st Qu.:199.8   1st Qu.:10.00  
 Median : 1259.0   Median :114.7   Median :257.0   Median :10.60  
 Mean   : 1982.7   Mean   :122.6   Mean   :261.9   Mean   :10.71  
 3rd Qu.: 1980.0   3rd Qu.:151.9   3rd Qu.:322.5   3rd Qu.:11.10  
 Max.   :13862.0   Max.   :457.3   Max.   :563.0   Max.   :15.20  
                                   NA's   :4                      
   histologic       status2      
 Min.   :1.000   Min.   :0.0000  
 1st Qu.:2.000   1st Qu.:0.0000  
 Median :3.000   Median :0.0000  
 Mean   :3.032   Mean   :0.4487  
 3rd Qu.:4.000   3rd Qu.:1.0000  
 Max.   :4.000   Max.   :1.0000  
                                 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>