lass='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span><span class='fl'>0.5</span>,<span class='fl'>1</span>,<span class='fl'>1.5</span>,<span class='fl'>1.1</span>,<span class='fl'>1</span>,<span class='fl'>0.98</span><span class='op'>)</span>

<span class='va'>THRESx</span> <span class='op'>&lt;-</span> <span class='va'>THRES</span>
<span class='va'>THRESx</span><span class='op'>[</span><span class='fl'>2</span>,<span class='fl'>1</span><span c