rrs)] &lt;- <span class="hljs-literal">NA</span>
diag(termcorrs) &lt;- <span class="hljs-literal">NA</span>
<span class="hljs-keyword">library</span>(qgraph)
qgraph(termcorrs, layout = <span class="hljs-string">"spring"</span>, labels = colnames(termcorrs), directed = <span class="hljs-literal">FALSE</span>,
       borders = <span class="hljs-literal">FALSE</span>, label.scale = <span class="hljs-literal">FALSE</span>, label.cex = <span class="hljs-number">1</span>, node.width = <span class="hljs-number">0.