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

    Function erfcinv

    • Inverse of the complementary error function: the x with erfc(x) = z, for 0 <= z <= 2 (NaN outside). Equivalent to pracma::erfcinv() in R.

      Parameters

      • z: number

      Returns number

      erfcinv(0.5);    // 0.4769362762044699
      erfcinv(1e-20); // 6.601580622355143