compute_auc: Compute AUC for Non-terminal and Terminal outcomes

View source: R/calc_risks.R

compute_aucR Documentation

Compute AUC for Non-terminal and Terminal outcomes

Description

Function to compute univariate prediction statistics

Usage

compute_auc(dat, t_cutoff, pred_mat)

Arguments

dat

Data

t_cutoff

Numeric vector indicating the time(s) to compute the risk profile.

pred_mat

Output from calc_risks function

Value

a vector with the non-terminal and terminal AUC.


hreed7/SemiCompRisksPen documentation built on Dec. 15, 2024, 5:41 p.m.