n 0 whereas
<code>step(0)</code> and <code>step(NaN)</code> return 1.</p>
<p>The step function is often used in BUGS to perform conditional
operations. For instance, <code>step(a-b)</code> evaluates to 1 if <code>a</code> is
greater than <code>b</code> and evaluates to 0 otherwise. <code>step</code> is a step-like
functions; see the warning in section <a href="step-functions.html#step-functions">step functions</a> applied to
expressions dependent on parameters.</p>
<!-- int; is_inf; (real x); -->
<p></p>
<p