plot.Score: Prediction performance

View source: R/satpredplots.R

plot.ScoreR Documentation

Prediction performance

Description

Plots predictive performance comparison of survival models. It uses risk scoring from Score.

Usage

## S3 method for class 'Score'
plot(x, ..., type = c("roc", "auc", "brier"), pos = 0.3, psize = 0.3)

Arguments

x

Score object. See examples.

...

for future implementations.

type

metric to return. Choices are "roc", "auc", "brier".

pos

spacing between the lines.

Details

Implements plot method for Score for time-dependent Brier score, AUC and ROC. However, currently, no support for time-dependent covariate models.

Value

a ggplot object.


CYGUBICKO/satpred documentation built on Sept. 10, 2023, 4:10 p.m.