Error in ppois function (PR#161)
Fri, 9 Apr 1999 09:29:39 +0200

On Fri, 9 Apr 1999, Prof Brian D Ripley wrote:

>      ppois(q, lambda)
> where q is undefined! It should only be defined for integers. Similarly, x
> should only be integers.

Ummmm.  I guess I see the argument for dpois, but I thought the
distribution function was defined for all values.  Wouldn't it be in order
to apply the integer argument function to floor(q) perhaps?

This seems to be what S does.

	> ppois(1.5, 2)
	[1] 0.4060058
	> ppois(1.1, 2)
	[1] 0.4060058


r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: