Learn R Programming

GGMselect (version 0.1-12.7)

GGMselect-package: Gaussian Graphs Models selection

Description

GGMselect is a package dedicated to graph estimation in Gaussian Graphical Models. The main functions return the adjacency matrix of an undirected graph estimated from a data matrix.

This package is developed in the Applied Mathematics and Informatics (https://maiage.inrae.fr/) Lab of INRA - Jouy-en-Josas, France.

To cite GGMselect, please use citation("GGMselect").

Arguments

Author

Annie Bouvier, Christophe Giraud, Sylvie Huet, Verzelen Nicolas

Maintainer: Benjamin Auder <benjamin.auder@universite-paris-saclay.fr>

More details are available on ../doc/Notice.pdf

Details

Package:GGMselect
URL:https://CRAN.R-project.org/package=GGMselect

References

Please use citation("GGMselect").

See Also

selectFast, selectQE, selectMyFam,convertGraph, simulateGraph, penalty

Examples

Run this code
p=30
n=30
# simulate graph
eta=0.11
Gr <- simulateGraph(p,eta)
# simulate data
X <- rmvnorm(n, mean=rep(0,p), sigma=Gr$C)
# estimate graph
if (FALSE) GRest <- selectFast(X)

# plot result
if (FALSE) library(network)
if (FALSE) par(mfrow=c(1,2))
if (FALSE) gV <- network(Gr$G)
if (FALSE) plot(gV,jitter=TRUE, usearrows = FALSE, label=1:p,displaylabels=TRUE)
if (FALSE) g <- network(GRest$EW$G)
if (FALSE) plot(g, jitter=TRUE, usearrows = FALSE,  label=1:p,displaylabels=TRUE)

Run the code above in your browser using DataLab