R/sirt_digamma1.R

Defines functions sirt_digamma1

## File Name: sirt_digamma1.R
## File Version: 0.01


#-- derivative of digamma function
sirt_digamma1 <- function(x, h=1e-3)
{
    ( digamma(x+h) - digamma(x-h) ) / (2*h)
}
alexanderrobitzsch/sirt documentation built on Sept. 8, 2024, 2:45 a.m.