highmlr_compare: Compare multiple highMLR methods on the same data

View source: R/companions.R

highmlr_compareR Documentation

Compare multiple highMLR methods on the same data

Description

Runs several methods and returns a side-by-side comparison of selected features and performance.

Usage

highmlr_compare(
  data,
  time,
  status,
  features = NULL,
  methods = c("coxnet", "rsf", "univariate"),
  ...
)

Arguments

data, time, status, features

As in [highmlr()].

methods

Character vector of methods to compare.

...

Passed to each call to 'highmlr()'.

Value

A list with two elements: 'fits' (named list of 'highmlr_fit' objects) and 'summary' (a tibble of method, n_selected, key metric).

Examples

## Not run: 
data(hnscc)
cmp <- highmlr_compare(hnscc, "OS", "Death",
                       methods = c("coxnet", "rsf", "univariate"))
cmp$summary

## End(Not run)


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