Learn R Programming

ggRandomForests (version 1.1.1)

veteran_rf: randomForestSRC::rfsrc forest for Veteran's Administration Lung Cancer Trial

Description

A randomForestSRC::rfsrc survival forest for the randomized trial of two treatment regimens for lung cancer. This is a standard survival analysis data set.

  • trt treatment: 1=standard 2=test
  • celltype cell-type: 1=squamous, 2=smallcell, 3=adeno, 4=large
  • time survival time
  • status censoring status
  • karno Karnofsky performance score (100=good)
  • diagtime months from diagnosis to randomisation
  • age age in years
  • prior prior therapy 0=no, 1=yes

Arguments

format

A rfsrc object for survival

References

Kalbfleisch J. and Prentice R, (1980) The Statistical Analysis of Failure Time Data. New York: Wiley.

Ishwaran H. and Kogalur U.B. (2014). Random Forests for Survival, Regression and Classification (RF-SRC), R package version 1.5.4.

Ishwaran H. and Kogalur U.B. (2007). Random survival forests for R. R News 7(2), 25-31.

Ishwaran H., Kogalur U.B., Blackstone E.H. and Lauer M.S. (2008). Random survival forests. Ann. Appl. Statist. 2(3), 841-860.

Examples

Run this code
## veteran data
## randomized trial of two treatment regimens for lung cancer
data(veteran, package = "randomForestSRC")
veteran_rf <- rfsrc(Surv(time, status) ~ ., data = veteran, ntree = 100)

plot.gg_rfsrc(veteran_rf)
plot.gg_error(veteran_rf)

Run the code above in your browser using DataLab