new_highmlr_fit: Constructor for highmlr_fit objects

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

new_highmlr_fitR Documentation

Constructor for highmlr_fit objects

Description

Internal constructor. Not exported. Use [highmlr()] to create fits.

Usage

new_highmlr_fit(
  selected,
  performance = NULL,
  model = NULL,
  method = NA_character_,
  call = NULL,
  data_summary = list(),
  meta = list()
)

Arguments

selected

A 'tibble' of selected features with columns 'feature', 'importance', and method-specific extras (e.g. 'coef', 'hazard_ratio', 'selection_freq').

performance

A named list of out-of-sample performance metrics (e.g. 'c_index', 'ibs').

model

The fitted underlying model object (parsnip fit, glmnet object, or list of these for stability selection).

method

Character scalar, the method used.

call

The matched call.

data_summary

A small list summarising the input data (n, p, events, censoring rate).

meta

Optional list for method-specific metadata.

Value

An object of class 'highmlr_fit'.


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