[][src]Function r_stats::poisson_pdf

pub fn poisson_pdf(x: f64, lambda: f64, give_log: bool) -> f64

Evaluate the probability density function of the poisson distribution.

If give_log is true, the natural logarithm of the value will be returned, with potentially higher numerical accuracy than calling .ln() on the result.