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

    Function qexp

    • Quantile function of the exponential distribution. Equivalent to R's qexp(p, rate = 1, lower.tail = TRUE, log.p = FALSE).

      Type Parameters

      Parameters

      Returns VectorResult<T>

      The quantile(s).

      qexp(0.5, { rate: 2 });      // 0.34657359027997264
      qexp([0.25, 0.75]); // [0.2876820724517809, 1.3862943611198906]