Learn R Programming

smcure (version 2.0)

plotpredictsmcure: Plot predicted smcure object

Description

Plot predicted survival curve(s) from the estimated mixture cure model

Usage

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

Arguments

object

an object of the predictsmcure function

type

type of plot. "S" means steps plot.

xlab

a label for the x axis

ylab

a label for the y axis

model

either "ph" or "aft"

further options in plotfunction can be passed to the plotpredictsmcure function

See Also

smcure, printsmcure, predictsmcure