Hi,
Apropos of a recent Inf question, I've previously wondered if dnorm "does the 
right thing" with

  dnorm(0, 0, -Inf)

which gives zero. Should that be zero or NaN (or NA)? 

The help says "'sd < 0' is an error and returns 'NaN'" and since -Inf < 0 is 
TRUE, then... is this a bug?

Thank you,
Stephen
Rochester, MN USA

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to