rStats.js v1.3.0
    Preparing search index...

    Function qpois

    • Quantile function of the Poisson distribution. Equivalent to R's qpois(p, lambda, lower.tail = TRUE, log.p = FALSE).

      Type Parameters

      Parameters

      • p: T

        Probability (or log probability with logP): a number, number[] or Float64Array. The result has the same shape.

      • lambda: number

        Mean.

      • options: TailOptions = {}

        lowerTail and logP (see TailOptions).

      Returns VectorResult<T>

      The quantile(s).

      qpois(0.5, 3);           // 3
      qpois([0.05, 0.95], 3); // [1, 6]