plot.ROC.joint | R Documentation |
Produces a simple plot showing the true positive rate (sensitivity) against
the false positive rate (1-specificy) for a dynamic prediction routine on a joint
model
along a specified time interval.
## S3 method for class 'ROC.joint'
plot(x, legend = TRUE, show.Youden = TRUE, show.F1 = FALSE, ...)
x |
an object with class |
legend |
should a legend displaying the number in risk set; number of failures in interval;
area under the ROC curve and median Brier score be added to the bottom-right corner of the ROC
plot? Default is |
show.Youden |
should a line be drawn showing optimal cut-point using Youden's J statistic?
Defaults to |
show.F1 |
should a line be drawn showing optimal cut-point using the F-score?
Defaults to |
... |
additional arguments (none used). |
James Murray (j.murray7@ncl.ac.uk).
dynPred
and ROC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.