&lt;-</span> <span class='fu'>efftox_utility</span>(<span class='no'>p</span>, <span class='fl'>0.5</span>, <span class='fl'>0.65</span>, <span class='kw'>prob_eff</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>0.6</span>, <span class='fl'>0.7</span>, <span class='fl'>0.8</span>),
                    <span class='kw'>prob_tox</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span cl