View source: R/plotpredictsmcure.R
plotpredictsmcure | R Documentation |
plot predicted survival curve(s) from the estimated mixture cure model
plotpredictsmcure(object, type = "S", xlab = "Time", ylab = "Predicted Survival Probability", model = c("ph", "aft"), ...)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.