Skip to contents

The follow-up laboratory values of the 312 randomized patients of pbc, one row per visit. Lab values were taken at protocol visits (six months, one year, and yearly after that) and at extra visits, which often came with a worsening condition and didn't always include every test. So the missing values near the end of follow-up may be informative.

Usage

pbcseq

Format

A data frame with 1945 rows and 19 columns:

id

Case number, as in pbc.

futime

Days from registration to death, transplantation, or the end of the study.

status

Status at the end point: 0 is censored, 1 is transplant, 2 is dead.

trt

Treatment: 1 is D-penicillamine, 2 is placebo.

age

Age in years.

sex

A factor with levels m and f.

day

Days from enrollment to this visit. The measurements below are from this visit.

ascites, hepato, spiders, edema, bili, chol, albumin, alk.phos, ast, platelet, protime, stage

The laboratory and clinical values, as in pbc.

split_episodes() builds the counting-process data for a model with time-varying covariates.

Source

Murtaugh PA, Dickson ER, Van Dam GM, et al. (1994). Primary biliary cirrhosis: prediction of short-term survival based on repeated patient visits. Hepatology, 20(1), 126-134.

Examples

head(pbcseq[c("id", "futime", "status", "day", "bili")])
#>   id futime status day bili
#> 1  1    400      2   0 14.5
#> 2  1    400      2 192 21.3
#> 3  2   5169      0   0  1.1
#> 4  2   5169      0 182  0.8
#> 5  2   5169      0 365  1.0
#> 6  2   5169      0 768  1.9