R/chicdf.R

Defines functions chicdf

Documented in chicdf

chicdf = function(X, k){
    
    #incgamma = pgamma(X/2, k/2, lower=TRUE)*gamma(k/2)
    
    #c  = (1/gamma(k/2)) * incgamma
    
    c = pgamma(X/2, k/2, lower.tail=TRUE)
    
    return(c)
    
}

Try the astro package in your browser

Any scripts or data that you put into this service are public.

astro documentation built on May 2, 2019, 2:14 a.m.