is.cglasso2igraph: Is an Object of Class 'cglasso2igraph'?

Description Usage Arguments Author(s) See Also Examples

View source: R/to_graph_S3methods.R

Description

is.cglasso2igraph tests if its argument is an object of class ‘cglasso2igraph’.

Usage

1

Arguments

x

object to be tested.

Author(s)

Luigi Augugliaro (luigi.augugliaro@unipa.it)

See Also

to_graph.

Examples

1
2
3
4
5
6
7
8
9
set.seed(123)
n <- 100L
p <- 3L
rho <- 0.3
Sigma <- outer(1L:p, 1L:p, function(i, j) rho^abs(i - j))
Z <- rcggm(n = n, Sigma = Sigma, probl = 0.05, probr = 0.05)
out <- cglasso(. ~ ., data = Z)
out.graph <- to_graph(out)
is.cglasso2igraph(out.graph )

cglasso documentation built on April 9, 2021, 9:07 a.m.