View source: R/plot.cellNetCoDa.R
| summary.cellNetCoDa | R Documentation |
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.
## S3 method for class 'cellNetCoDa'
summary(object, ...)
object |
object of class |
... |
additional arguments (currently ignored) |
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.
Matthias Templ
cellNetCoDa, print.cellNetCoDa,
plot.cellNetCoDa
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.