pan class="co"># prior odds 10:1, assuming graph is known</span></span></span>
<span class="r-in"><span><span class="va">prior_ggm</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/ifelse.html" class="external-link">ifelse</a></span><span class="op">(</span><span class="va">main</span><span class="op">$</span><span class="va">adj</span> <span class="op">==</span> <span class="fl">1</span>, <span class="fl">10</span>, <span class="fl">1</span><span class="op">)</span></spa