Skip to content
Prev 78617 / 398502 Next

Warning: condition has length > 1

ifelse(x >= 1, 0, x^2)

or

(x >= 1) * x^2

Also, you might need x > (1 - e) where e is some small number since your
numbers may not be exact.
On 10/8/05, nawaf b <talda at hotmail.com> wrote: