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

Description Usage Arguments Note

View source: R/plot.predict.TransModel.R

Description

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

Usage

1
2
## S3 method for class '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.

Note

Either CI or CB is set to be TRUE in this plot method, the object from predict.TransModel needs to have the argument CICB.st to be TRUE as well. Otherwise, no confidence interval or band will be added to the plot.


TransModel documentation built on Feb. 3, 2022, 5:08 p.m.