print.cellNetCoDa: Print method for cellwise-robust compositional networks

View source: R/plot.cellNetCoDa.R

print.cellNetCoDaR Documentation

Print method for cellwise-robust compositional networks

Description

Prints a concise summary of a cellNetCoDa object: the back end used, the number of nodes (parts) and selected edges, the graph density, the StARS-selected penalty, and the share of flagged cells.

Usage

## S3 method for class 'cellNetCoDa'
print(x, ...)

Arguments

x

object of class "cellNetCoDa" as returned by cellNetCoDa

...

additional arguments (currently ignored)

Value

Invisibly returns x.

Author(s)

Matthias Templ

See Also

cellNetCoDa, summary.cellNetCoDa, plot.cellNetCoDa

Examples


if (requireNamespace("glmnet", quietly = TRUE)) {
  data(expenditures)
  set.seed(1)
  net <- cellNetCoDa(expenditures, method = "mb",
                     lambda_grid = c(0.4, 0.2, 0.1, 0.05), B = 10, k = 2)
  net
}


robCompositions documentation built on Nov. 1, 2026, 1:06 a.m.