Error {gsl} | R Documentation |
Error functions
Description
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
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 |
mode |
input: mode. For |
strict |
Boolean, with |
Details
The zero functions return a status of GSL_EDOM
and a value of
NA
for n\leq 0
Author(s)
Robin K. S. Hankin
References
https://www.gnu.org/software/gsl/
Examples
erf(0.745) # Example 1, page 304
[Package gsl version 2.1-8 Index]