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