SachaEpskamp / qgraph

Developmental version of qgraph
GNU General Public License v2.0
68 stars 21 forks source link

Legend disappears when setting edge.labels=TRUE #72

Closed jmbh closed 1 year ago

jmbh commented 1 year ago

Hi Sacha,

Reproducible example:

library(qgraph) p <- 10 m <- matrix(0, p, p) m[upper.tri(m)] <- rnorm((p*(p-1))/2) m <- m+t(m) labels <- LETTERS[1:p] qgraph(m, nodeNames = labels) # legend present qgraph(m, nodeNames = labels, edge.labels=TRUE) # legend disappears

Cheers, Jonas

SachaEpskamp commented 1 year ago

Hi Jonas, I cannot reproduce this, both commands show a legend for me?

jmbh commented 1 year ago

Indeed, I just updated qgraph which resolved this issue.

Thanks, Jonas