huge.GECT(x, nlambda = NULL, lambda.min.ratio = NULL, lambda = NULL, verbose = TRUE)
n
by d
data matrix. (2) A d
by d
sample covariance covariance matrix. The program automatically identifies the input matrix by checking the symmetry.(n
lambda = NULL
and have the program compute its own lambda
sequence based on nlambda
and lambda.m
20
.lambda
as a sequence of length = nlambda
, which makes the sparsity level of the graph path increases from 0
to lambda.min.
verbose = FALSE
, printing the tracing information is disabled. The default value is TRUE
.k
by k
adjacency matrices (in sparse matrix representation) of estimated graphs as the solution path corresponding to lambda
.huge
and huge-package
# generate data
L = huge.generator(graph = "hub", g = 5)
# the Graph Estimation via Correlation Threholding (GECT)
out = huge.GECT(L$data, nlambda = 20)
plot(out)
Run the code above in your browser using DataLab