plot.predJoint: Plot predictions using a joint frailty model.
Description
Plots predicted probabilities of terminal event. Confidence intervals are allowed.
Usage
## S3 method for class 'predJoint':
plot(x, conf.bands=FALSE, relapses=TRUE, pos.legend="topright",
cex.legend=0.7, ylim=c(0,1), ...)
Arguments
x
An object from the 'prediction' function, more generaly a predJoint class object.
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