tml'>ifelse</a></span><span class='op'>(</span> <span class='va'>fit</span><span class='op'>$</span><span class='va'>P</span> <span class='op'>&lt;=</span> <span class='fl'>0</span>, <span class='fl'>0</span>, <span class='fl'>1</span><span class='op'>)</span></span>
<span class='r-in'></span>
<span class='r-in'><span class='va'>check_zeros</span> <span class='op'>&lt;-</span> <span class='cn'>TRUE</span></span>
<span class='r-in'></span>
<span class='r-in'><span class='co'># track trys</span></span>
<span 