Learn R Programming

TransModel (version 2.3)

plot.predict.TransModel: Plot the predicted survival curve with confidence interval/band.

Description

Survival curve with confidence interval or confidence band will be plotted for the returned object from predict.TransModel.

Usage

# S3 method for predict.TransModel
plot(x, CI = FALSE, CB = FALSE, ...)

Arguments

x

An object from the function predict.TransModel.

CI

Whether a 100(1-alpha)% pointwise confidence interval will be added to the survival curve.

CB

Whether a 100(1-alpha)% confidence band will be added to the survival curve.

Other plot arguments.