Description Format Source References See Also Examples
Contains the survival times of 45 gastrointestinal tumor patients who were treated with both chemotherapy and radiotherapy. It has both exact and right-censored observations.
A data frame with 30 observations and 3 variables:
L: left-end points of the interval-censored survival times;
R: right-end points of the interval-censored survival times.
Klein and Moeschberger (2003), page 224.
Klein, J. P. and Moeschberger, M. L. (2003). Survival Analysis: Techniques for Censored and Truncated Data (2nd ed.). Springer.
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(gastric)
plot(npsurv(gastric), col="grey") # survival function
plot(h0<-Uhaz(gastric, deg=0)$h, fn="s", add=TRUE, col="green3")
plot(h1<-Uhaz(gastric, deg=1)$h, fn="s", add=TRUE)
plot(h2<-Uhaz(gastric, deg=2)$h, fn="s", add=TRUE, col="red3")
plot(h0, fn="h", col="green3") # hazard function
plot(h1, fn="h", add=TRUE)
plot(h2, fn="h", add=TRUE, col="red3")
plot(h0, fn="d", col="green3") # density function
plot(h1, fn="d", add=TRUE)
plot(h2, fn="d", add=TRUE, col="red3")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.