Learn R Programming

rcure (version 0.1.0)

plotpredictrcure: Plots predicted rcure object

Description

Plots predicted survival curve(s) from the estimated robust cure model

Usage

plotpredictrcure(object, type = "S", xlab = "Time", ylab = "Predicted Survival Probability", model = c("ph", "aft"), ...)

Arguments

object
an object of the predictrcure function
type
type of plot. "S" means steps plot.
xlab
label for the x axis
ylab
label for the y axis
model
specifies survival part in cure model, "ph" or "aft"
...
further arguments to be passed to the plotpredictrcure function

References

Cai, C., Zou, Y., Peng, Y., & Zhang, J. (2012). smcure: An R-Package for estimating semiparametric mixture cure models. Computer methods and programs in biomedicine, 108(3), 1255-1260