Learn R Programming

robCompositions (version 2.6.0)

summary.cellNetCoDa: 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 cellNetCoDa
summary(object, ...)

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.

Arguments

object

object of class "cellNetCoDa" as returned by cellNetCoDa

...

additional arguments (currently ignored)

Author

Matthias Templ

See Also

cellNetCoDa, print.cellNetCoDa, plot.cellNetCoDa

Examples

Run this code
# \donttest{
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)
}
# }

Run the code above in your browser using DataLab