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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.