zeta {dsfa}R Documentation

Zeta

Description

Evaluates the zeta function, i.e. log(2*pnorm(x)).

Usage

zeta(x, deriv = 0)

Arguments

x

numeric vector of quantiles. Missing values (NAs) and Inf are allowed.

deriv

derivative of order deriv of the zeta function. Available are 0, 2 and 4.

Details

The zeta function is defined as log\{ 2 \Phi(x)\}. The function is a clone of zeta().

Value

Evaluates the zeta function. If the derivatives are calculated these are provided as the attributes gradient, hessian, l3 and l4.

References

Examples

zeta(1,1)


[Package dsfa version 1.0.1 Index]