></span></span>
<span class="r-in"><span><span class="va">ss1</span><span class="op">$</span><span class="va">W3</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">ss1</span><span class="op">$</span><span class="va">Group</span> <span class="op">==</span> <span class="fl">2</span>, <span class="fl">2</span>, <span class="fl">1</span><span class="op">)</span></span></span>
<span cl