title: Using package "pcalg" in R, and getting error: "error in pMax[i,j] : subscript out of bounds
body: <p>I'm very, very new to R and am learning for a summer research position. I have a question regarding the correct syntax of the function "pc" in the package "pcalg." I have generated a random DAG using "randomDAG" and I used this code: </p>
  
  <pre><code>R&gt; myDAG&lt;-randomDAG(5, .5)
  R&gt; V&lt;-"V1"
  R&gt; estEQC&lt;-pc(myDAG, indeptest=gaussCItest, alpha=.01,labels=V, verbose=TRUE)
  R&gt; estEQC
  </code></pre>
  
  <p>And it gives me the message: <code>Error in pMax[i, j] : subscript out of bounds</code></p>
  
  <p>It must be the syntax that's wrong, right? Or maybe I have a misunderstanding of what these arguments need to be.</p>