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

    Function qweibull

    • Quantile function of the Weibull distribution. Equivalent to R's qweibull(p, shape, scale = 1, 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.

      • shape: number

        Shape parameter.

      • options: WeibullParams & TailOptions = {}

        scale (see WeibullParams), lowerTail and logP (see TailOptions).

      Returns VectorResult<T>

      The quantile(s).

      qweibull(0.5, 2);               // 0.8325546111576977
      qweibull(0.9, 1.5, { scale: 3 }); // 5.231164540789235