R/rc.R

`rc` <-
function(coefs)
{
    stopifnot(is.numeric(coefs), length(coefs) == 3,
              all(names(coefs) == c("alpha", "beta", "gamma")))
    rho <- (coefs[3] - coefs[1])/(coefs[2] - coefs[1]) - 1
    unname(-log(rho)/12)
}

Try the Grho package in your browser

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

Grho documentation built on May 31, 2017, 1:51 a.m.