get_ibs: Extract IBS in tidy format

Description Usage Arguments

View source: R/pec-helpers.R

Description

Extract IBS in tidy format

Usage

1
2
3
4
5
6
7
8
9
get_ibs(
  object,
  data,
  pec_params = list(formula = Surv(time, status) ~ 1, exact = FALSE, start = 0.01),
  keep_reference = TRUE,
  q_last = 0.8,
  q_eval = c(0.25, 0.5, 0.75),
  ...
)

Arguments

object

A named list of prediction models, where allowed entries are (1) R-objects for which a predictSurvProb method exists (see details), (2) a call that evaluates to such an R-object (see examples), (3) a matrix with predicted probabilities having as many rows as data and as many columns as times. For cross-validation all objects in this list must include their call.

data

A data frame in which to validate the prediction models and to fit the censoring model. If data is missing, try to extract a data set from the first element in object.

keep_reference

Logical. Should Brier Score of Reference model be kept in results table.

...

Not used.


adibender/pem.xgb documentation built on Sept. 10, 2021, 7:24 p.m.