summary.orthoMTL: Summarise an orthoMTL Object

View source: R/print.R

summary.orthoMTLR Documentation

Summarise an orthoMTL Object

Description

Displays a detailed summary of a fitted orthoMTL model, including hyperparameters, coefficient matrix statistics, and top features by mean absolute coefficient.

Usage

## S3 method for class 'orthoMTL'
summary(object, n_top = 5, ...)

Arguments

object

A fitted model object of class "orthoMTL".

n_top

Number of top features to display. Default: 5.

...

Additional arguments (currently ignored).

Value

Invisibly returns object.

Examples

set.seed(42)
n <- 100; p <- 10; n_tasks <- 3
X <- matrix(rnorm(n * p), n, p)
colnames(X) <- paste0("V", seq_len(p))
Y <- X %*% matrix(rnorm(p * n_tasks), p) + matrix(rnorm(n * n_tasks), n) * 0.1
fit <- orthoMTL(X, Y, lambda = 1e-3)
summary(fit)

orthoMTL documentation built on Aug. 23, 2026, 5:10 p.m.