summary.nmfre: Summary method for objects of class 'nmfre'

View source: R/nmfre.R

summary.nmfreR Documentation

Summary method for objects of class nmfre

Description

Displays a concise summary of an NMF-RE model fit, including dimensions, convergence, variance components, and a coefficient table following standard R regression output conventions.

Usage

## S3 method for class 'nmfre'
summary(object, ci.show = FALSE, by = c("covariate", "basis"), ...)

Arguments

object

An object of class nmfre, returned by nmfre.

ci.show

Logical. If TRUE, show confidence interval columns (default FALSE). Named object-first to match the package style (C.signed, X.init, ...). Legacy show_ci is accepted via ....

by

Grouping order of the coefficient rows: "covariate" (default; list all bases for each covariate) or "basis" (list all covariates for each basis).

...

Additional arguments (currently unused).

Value

The input object, invisibly.

See Also

nmfre, nmfre.inference

Examples

Y <- matrix(cars$dist, nrow = 1)
A <- rbind(intercept = 1, speed = cars$speed)
res <- nmfre(Y, A, rank = 1, maxit = 5000)
summary(res)


nmfkc documentation built on July 14, 2026, 1:07 a.m.