Skip to content

Use of 'any' in 3.2.1 if ... else example is incorrect (PR#1576)

1 message · Brian Ripley

#
On Mon, 20 May 2002 dciemo@excite.com wrote:

            
Yes, fixed for 1.5.1, thanks.
But that may be the intention: the intention is not explained.  Or it may
be already known that x > -1.

Not that log(0) is not an error (it is -Inf) so only x < -1 would generate
an error.
x[x <= 0] <- 1