R/chi.R

Defines functions chi

Documented in chi

chi <-
function(x,n)
  {
    f = ( 1 / (2^(n/2)*gamma(n/2)) )* (x^( (n/2) -1))* exp(-x/2)
    return(f)
  }

Try the PEIP package in your browser

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

PEIP documentation built on Aug. 21, 2023, 9:10 a.m.