R/kronrad.R

Defines functions kronrad

Documented in kronrad

kronrad = function(n, r = 1e10, re = 1){
    # kron radii
    bn = qgamma(0.5,2*n)
    x = bn*((r/re)^(1/n))
    krad = suppressWarnings((re/(bn^n))*(igamma(x,3*n)/igamma(x,2*n)))
    return(krad)
}

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.