Skip to content

Instantly share code, notes, and snippets.

@joaovissoci
Created October 16, 2014 16:37
Show Gist options
  • Save joaovissoci/03fcb15bb5e231509817 to your computer and use it in GitHub Desktop.
Save joaovissoci/03fcb15bb5e231509817 to your computer and use it in GitHub Desktop.
eLasso_template
library(‘‘parcor’’)
library(‘‘Matrix’’)
set.seed(100)
adls <- adalasso.net(Data)
network <-
as.matrix(forceSymmetric(adls$pcor.adalasso))
qgraph(network, layout = ‘‘spring’’, labels =
colnames(Data), groups = groups)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment