| inv.trigamma | R Documentation |
inv.trigamma implements the Newton iteration for solving, given
x, the equation for y: trigamma(y) = x.
See appendix of the limma paper (see "References") for a theoretical
deduction of the method.
inv.trigamma(x, eps = 1e-08)
x |
A positive numeric scalar. |
eps |
The required precision of the solution. |
The solution, which is also a positive numeric scalar.
Smyth, G.K., Linear models and empirical bayes methods for assessing differential expression in microarray experiments. Stat Appl Genet Mol Biol, 2004. 3: p. Article3.
trigamma for the trigamma function.
x <- trigamma(1:6) vapply(x, inv.trigamma, numeric(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.