Hello R community, I am creating some network representations using the qgraph package (big thanks to Sacha Epskamp for developing it!). The package is very well documented, but I am unable to find how to create a legend (scale) for edge thickness. In one of his qgraph examples, Sacha shows such type of scale (fifth graph in http://sachaepskamp.com/qgraph/examples - scale for edge thickness relative to p-values). I have searched the documentation and it seems that a legend relates to the definition of node groups, so I am uncertain on which option/command I need to use for achieving what I need. I would also like to be able to select the values for which the scale is created too.
If it is unclear, what I am looking for is to display this next to the network graph: probability edge thickness 1.0 display line with thickness for 1.0 0.8 display line with thickness for 0.8 0.6 display line with thickness for 0.6 0.4 display line with thickness for 0.4 My line of code for generating the network is the following: qgraph(Edges2,esize=7,nsize=12,gray=TRUE,layout="circular",filetype="pdf",width=5,height=5,vsize=11,label.prop=1.2,arrows=FALSE,border.color=c("red","red","blue","green","purple"),border.width=4,maximum=1.4,cut=0.0001) I would appreciate if somebody can help me out. Thanks, Maria Antonieta [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.