Error

0th

Percentile

Error functions

Error functions as per the Gnu Scientific Library, reference manual section 7.15 and AMS-55, chapter 7. Thes functions are declared in header file gsl_sf_error.h

Keywords
array
Usage
erf(x, mode=0, give=FALSE, strict=TRUE)
erfc(x, mode=0, give=FALSE, strict=TRUE)
log_erfc(x, mode=0, give=FALSE, strict=TRUE)
erf_Q(x, mode=0, give=FALSE, strict=TRUE)
hazard(x, mode=0, give=FALSE, strict=TRUE)
Arguments
x

input: real values

give

Boolean with TRUE meaning to return a list of three items: the value, an estimate of the error, and a status number

mode

input: mode. For GSL_PREC_DOUBLE , GSL_PREC_SINGLE, GSL_PREC_APPROX use 0,1,2 respectively

strict

Boolean, with TRUE meaning to return NaN if status is an error

Details

The zero functions return a status of GSL_EDOM and a value of NA for \(n\leq 0\)

References

http://www.gnu.org/software/gsl

Aliases
  • error
  • Error
  • Error function
  • erf
  • erfc
  • log_erfc
  • log_erf_Z
  • erf_Q
  • erf_Z
  • hazard
Examples
# NOT RUN {

erf(0.745) # Example 1, page 304

# }
Documentation reproduced from package gsl, version 2.1-6, License: GPL-3

Community examples

Looks like there are no examples yet.