trigammaInverse {limma}R Documentation

Inverse Trigamma Function

Description

The inverse of the trigamma function.

Usage

trigammaInverse(x)

Arguments

x numeric vector or array

Details

The function uses Newton's method with a clever starting value to ensure monotonic convergence.

Value

Numeric vector or array y satisfying trigamma(y)==x.

Author(s)

Gordon Smyth

See Also

trigamma

Examples

y <- trigammaInverse(5)
trigamma(y)

[Package limma version 2.4.7 Index]