">dag2pag</span>
<span class="n">PAG</span> <span class="o">=</span> <span class="n">dag2pag</span><span class="p">(</span><span class="n">dag</span><span class="p">,</span> <span class="n">islatent</span><span class="p">)</span>
</pre></div>
</div>
</section>
<section id="parameters">
<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline"></a></h2>
<p><strong>dag</strong>: Direct Acyclic Graph.</p>
<p><strong>islatent</strong>: the indexes of latent variables. [] means