Learn R Programming

E2E (version 0.1.2)

apply_pro: Apply Prognostic Model to New Data

Description

Generates risk scores for new patients using a trained model.

Usage

apply_pro(trained_model_object, new_data, time_unit = "day")

Value

Data frame with IDs, outcomes (if available), and risk scores.

Arguments

trained_model_object

A trained object (class pro_model).

new_data

Data frame of new patients.

time_unit

Time unit for data preparation.