predict.highmlr_fit: Predict from a highmlr_fit

View source: R/class-highmlr-fit.R

predict.highmlr_fitR Documentation

Predict from a highmlr_fit

Description

Predict from a highmlr_fit

Usage

## S3 method for class 'highmlr_fit'
predict(object, new_data, type = c("linear_pred", "survival", "risk"), ...)

Arguments

object

A 'highmlr_fit' object.

new_data

A data frame containing the features used in fitting.

type

One of '"linear_pred"', '"survival"', or '"risk"'. Availability depends on the underlying model.

...

Passed to the underlying model's predict method.

Value

Predicted values (vector or tibble depending on 'type').


highMLR documentation built on May 23, 2026, 5:07 p.m.