plot.predJoint | R Documentation |
Plots predicted probabilities of terminal event. Confidence intervals are allowed.
## S3 method for class 'predJoint'
plot(x, conf.bands=FALSE,
relapses=TRUE,pos.legend="topright", cex.legend=0.7, ylim=c(0,1), Xlab =
"Time t", Ylab = "Prediction probability of event", ...)
x |
An object from the 'prediction' function, more generaly a
|
conf.bands |
Logical value. Determines whether confidence intervals will be plotted. The default is FALSE. |
relapses |
Logical value. Determines whether observed recurrent events will be plotted. The default is TRUE. |
pos.legend |
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"' |
cex.legend |
size of the legend. Default is 0.7 |
ylim |
range of y-axis. Default is from 0 to 1 |
Xlab |
Label of x-axis. Default is '"Time t"' |
Ylab |
Label of y-axis. Default is '"Prediction probability of event"' |
... |
Other unused arguments |
Print as many plots as the number of subjects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.