Description Usage Arguments Details Author(s) See Also
View source: R/plot.flexsurvreg.R
Add fitted survival (or hazard or cumulative hazard) curves from a
flexsurvreg
model fit to an existing plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 
x 
Output from 
newdata 
Covariate values to produce fitted curves for, as a data
frame, as described in 
X 
Covariate values to produce fitted curves for, as a matrix, as
described in 
type 

t 
Vector of times to plot fitted values for. 
est 
Plot fitted curves ( 
ci 
Plot confidence intervals for fitted curves. 
B 
Number of simulations controlling accuracy of confidence
intervals, as used in 
cl 
Width of confidence intervals, by default 0.95 for 95% intervals. 
col 
Colour of the fitted curve(s). 
lty 
Line type of the fitted curve(s). 
lwd 
Line width of the fitted curve(s). 
col.ci 
Colour of the confidence limits, defaulting to the same as for the fitted curve. 
lty.ci 
Line type of the confidence limits. 
lwd.ci 
Line width of the confidence limits, defaulting to the same as for the fitted curve. 
... 
Other arguments to be passed to the generic 
Equivalent to plot.flexsurvreg(...,add=TRUE)
.
C. H. Jackson chris.jackson@mrcbsu.cam.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.