| .finalize_survmat | R Documentation |
Internal utility used by predict_*() methods and evaluators to coerce raw
predictions to a validated survival-probability matrix contract.
.finalize_survmat(S, times, clamp = TRUE, enforce_monotone = TRUE)
S |
Raw survival predictions as matrix, data.frame, or vector. |
times |
Numeric vector of evaluation times aligned with columns of |
clamp |
Logical; if |
enforce_monotone |
Logical; if |
A base data.frame with columns named t=<time>.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.