R/re2h.R

Defines functions re2h

Documented in re2h

re2h = function(n, re = 1){
    # convert re to scalelength
    bn = qgamma(0.5,2*n)
    h = re/(bn^n)
    return(h)
}

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.