- metric
The metric to compute. See details.
- formula
The formula used to build the survivals.matrix.
- data
A data frame for in which to look for the variables related to the status of the follow-up time.
- survivals.matrix
A matrix with the predictions of survivals of each subject (lines) for each prognostic times (columns).
- hazards.matrix
A matrix with the predictions of hazards of each subject (lines) for each prognostic times (columns).
- prediction.times
A vector of numeric values with the times of the predictions
(same length than the number of columns of prediction.matrix
).
- pro.time
This optional value of prognostic time represents the maximum delay for which the capacity of the variable is evaluated. The same unit than the one used in the argument times. Not used for the following metrics: "ll", "ibs", and "ibll". Default value is the time at which half of the subjects are still at risk.
- object
An object of type libsl
, is NULL
by default. When a value is assigned to it, the other parameters automatically inherit the formula, predictions, times of predictions and data from the object. When the object is set to NULL
, the parameters formula
, survivals.matrix
, prediction.times
and data
must be defined.
- ROC.precision
An optional argument with the percentiles (between 0 and 1) of the prognostic variable used for computing each point of the time dependent ROC curve. Only used when metric="auc"
. 0 (min) and 1 (max) are not allowed. By default, the precision is seq(.01,.99,.01)
.