R/h2re.R

Defines functions h2re

Documented in h2re

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

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.