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

    Function dkumar

    • Density of the Kumaraswamy distribution. Equivalent to extraDistr::dkumar(x, a, b, log = FALSE) in R.

      Type Parameters

      Parameters

      • x: T

        Value(s) at which to evaluate: a number, number[] or Float64Array. The result has the same shape.

      • a: number

        First shape parameter.

      • b: number

        Second shape parameter.

      • options: DensityOptions = {}

      Returns VectorResult<T>

      dkumar(0.5, 2, 3);        // 1.6875
      dkumar([0.25, 0.75], 2, 3); // [1.318359375, 0.861328125]