Learn R Programming

randomForestSRC (version 3.3.1)

wihs: Women's Interagency HIV Study (WIHS)

Description

Competing risk data set involving AIDS in women.

Arguments

Format

A data frame containing:

timetime to event
statuscensoring status: 0=censoring, 1=HAART initiation, 2=AIDS/Death before HAART
ageatfdaage in years at time of FDA approval of first protease inhibitor
iduhistory of IDU: 0=no history, 1=history
blackrace: 0=not African-American; 1=African-American
cd4nadirCD4 count (per 100 cells/ul)

References

Bacon M.C, von Wyl V., Alden C., et al. (2005). The Women's Interagency HIV Study: an observational cohort brings clinical sciences to the bench, Clin Diagn Lab Immunol, 12(9):1013-1019.

Examples

Run this code
# \donttest{
data(wihs, package = "randomForestSRC")
wihs.obj <- rfsrc(Surv(time, status) ~ ., wihs, nsplit = 3, ntree = 100)
# }

Run the code above in your browser using DataLab