summary.cellNetCoDa: Summary method for cellwise-robust compositional networks

View source: R/plot.cellNetCoDa.R

summary.cellNetCoDaR Documentation

Summary method for cellwise-robust compositional networks

Description

Provides a more detailed summary than print.cellNetCoDa: the per-node degree of the estimated graph, the per-part cellwise contamination rate, and the list of selected edges.

Usage

## S3 method for class 'cellNetCoDa'
summary(object, ...)

Arguments

object

object of class "cellNetCoDa" as returned by cellNetCoDa

...

additional arguments (currently ignored)

Value

Invisibly returns a list with components degree (incident edges per node), density, flagrate (per-part contamination rate), edges (a data.frame of selected edges), penalty and method.

Author(s)

Matthias Templ

See Also

cellNetCoDa, print.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)
  summary(net)
}


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