Reputation: 482
I am using qgraph in R. It automatically shortens node labels, which can be very useful. But how do I ask it to use full labels?
Here is an example.
require(qgraph)
m <- matrix(1,3,3)
colnames(m) <- c("AAAAAAAA", "BBBBBBBB", "CCCCCCCC")
qgraph(m)
Upvotes: 8
Views: 2398
Reputation: 47602
As Jac said in the comments, you need to manually overwrite the labels with qgraph(m, labels = colnames(m))
.
Upvotes: 2