R/rc.R

Defines functions `rc`

`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 2, 2019, 4:43 p.m.