predict_pro: Generic Prediction Interface for Prognostic Models

View source: R/prognosis.R

predict_proR Documentation

Generic Prediction Interface for Prognostic Models

Description

A unified S3 generic method to generate prognostic risk scores from various trained model objects. This decouples the prediction implementation from the high-level evaluation logic, facilitating extensibility.

Usage

predict_pro(object, newdata, ...)

Arguments

object

A trained model object with class pro_model.

newdata

A data frame containing features for prediction.

...

Additional arguments passed to specific methods.

Value

A numeric vector representing the prognostic risk score (higher values typically indicate higher risk).


E2E documentation built on March 22, 2026, 1:07 a.m.