Closed carizmendi closed 3 years ago
Archive.zip
Get ''lty' is wrong length' error when number of edges equals number of nodes. Do not receive error if I add an extra edge to the edge list. I've attached a a toy example with an RData file and the R code. Hope it helps!
This is because your input is a 3 x 3 matrix, which qgraph thinks is a weights matrix. Using edgelist = TRUE should fix this!
edgelist = TRUE
Best, Sacha
Archive.zip
Get ''lty' is wrong length' error when number of edges equals number of nodes. Do not receive error if I add an extra edge to the edge list. I've attached a a toy example with an RData file and the R code. Hope it helps!