R/Grho.R

Defines functions `Grho`

`Grho` <-
function(Time, alpha, beta, gamma)
{
    rho <- (gamma - alpha)/(beta - alpha) - 1
    stopifnot(0 < rho)
    rc <- -log(rho)/12
    Br2 <- (beta - alpha)/(rho - 1)
    A <- alpha - Br2
    B <- Br2/(rho*rho)
    unname(A + B * exp(- rc * Time))
}

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.