qgraph images

39 views
Skip to first unread message

Henry Whitfield

unread,
Nov 28, 2023, 8:33:00 PM11/28/23
to gimme-r
Hi All,

Katie kindly sent me this code for the subgroup cluster image. 

 e = igraph::get.edgelist(igraph::graph.adjacency(lay.sim, mode = "undirected", weighted = TRUE))    

l = qgraph::qgraph.layout.fruchtermanreingold(e,                                                  
vcount = vcount(g), 
weights = weights/5,                                                 
 area = 8*(vcount(g)^2),                                                 
 repulse.rad = (vcount(g)^3.1))


here, lay.sim = the similarity matrix 

Does anyone know what "vcount" represents?

Also is it qgraph that creates all the individual GIMEE and subgroup model images?

Many thanks,

Henry 

Katie Gates

unread,
Nov 28, 2023, 8:42:12 PM11/28/23
to Henry Whitfield, gimme-r
Hey there Henry, 

"vcount" is the number of nodes or variables. Using vcount(g) gets this value from the graph object. 

And yes, qgraph is used for the individual images. 

Hope this helps, 
Katie

--
You received this message because you are subscribed to the Google Groups "gimme-r" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gimme-r+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gimme-r/a9c72d3e-226f-4e95-b8ea-7f6aace86f81n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages