Plots predicted probabilities of event. Confidence intervals are allowed.
# S3 method for predFrailty
plot(x, conf.bands=FALSE, pos.legend="topright",
cex.legend=0.7, ylim=c(0,1), Xlab = "Time t", Ylab, ...)
An object from the 'prediction' function, i.e. a predFrailty
class object.
Logical value. Determines whether confidence intervals will be plotted. The default is FALSE.
The location of the legend can be specified by setting this argument to a single keyword from the list '"bottomright"', '"bottom"', '"bottomleft"', '"left"', '"topleft"', '"top"', '"topright"', '"right"' and '"center"'. The default is '"topright"'.
size of the legend. Default is 0.7.
range of y-axis. Default is from 0 to 1.
Label of x-axis. Default is '"Time t"'
Label of y-axis.
Other unused arguments.
Print one plot with as many curves as the number of profiles.