Skip to content
Prev 206601 / 398503 Next

function to set log(0)=0 not working on tables or vectors

Are you telling us the whole story? Or did you also
get a warning message which should have twigged the
answer for you?

Try ifelse() instead of if().

  -Peter Ehlers
maiya wrote: