Re: [R] qgraph: correlation matrix variable names

2013-04-08 Thread Sacha Epskamp
Hi Torvon, In R you can specify rownames and columnames to a matrix, which in essence becomes what you describe as first row and first column, except they are not actually rows or columns (so that the matrix is still numeric). qgraph will extract labels from these rownames. You can also use the la

[R] qgraph: correlation matrix variable names

2013-04-08 Thread Torvon
We aim to visualize a 17*17 correlation matrix with the package *qgraph*, consisting of 16 variables. Without variable names in the input file, that works perfectly R> qgraph(data) but we'd like variable names instead of numbers for variables. In a correlation matrix, the first row and the firs