Learn R Programming

limma (version 3.28.14)

trigammaInverse: Inverse Trigamma Function

Description

The inverse of the trigamma function.

Usage

trigammaInverse(x)

Arguments

x
numeric vector or array

Value

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

Details

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

See Also

This function is the inverse of trigamma in the base package.

This function is called by fitFDist.

Examples

Run this code
y <- trigammaInverse(5)
trigamma(y)

Run the code above in your browser using DataLab