Learn R Programming

smcure (version 2.1)

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