r/base/ifelse.html" class="external-link">ifelse</a></span><span class="op">(</span><span class="va">STUDY</span> <span class="op">==</span> <span class="st">"Study A"</span>, <span class="fl">50</span>, <span class="fl">25</span><span class="op">)</span><span class="op">]</span></span>
<span></span>
<span><span class="co"># Binning Method on x-variable (NTIME)</span></span>
<span><span class="va">vpc</span> <span class="op">&lt;-</span> <span class="fu"><a href="reference/observed.html">observed</a></span>