Produces a formatted summary of a fitted NMF-SEM model, including matrix dimensions, convergence, stability diagnostics, fit statistics, and inference results (if available).
Usage
# S3 method for class 'nmf.sem'
summary(object, ...)Arguments
- object
An object of class
"nmf.sem"returned bynmf.sem.- ...
Not used.
Examples
Y <- t(iris[, -5])
Y1 <- Y[1:2, ]; Y2 <- Y[3:4, ]
result <- nmf.sem(Y1, Y2, rank = 2, maxit = 500)
summary(result)
#> NMF-SEM: Y1(2,N) = X(2,2) [C1(2,2) Y1 + C2(2,2) Y2]
#> Iterations: 500
#>
#> Stability diagnostics:
#> Spectral radius(XC1): 0.9834 (stable)
#> ||XC1||_1: 1.2699
#> Amplification: 15.6045 (bound: Inf)
#>
#> Fit statistics:
#> SC.cov (covariance correlation): 0.9997
#> MAE (mean absolute error): 1.6924