R/amplify.R

amplify <-
function (gamma, lambda) 
{
# This is the amplify function from sensitivitymv version 1.3
    stopifnot(length(gamma) == 1)
    stopifnot(gamma > 1)
    stopifnot(min(lambda) > gamma)
    delta <- (gamma * lambda - 1)/(lambda - gamma)
    names(delta) <- lambda
    delta
}

Try the fugue package in your browser

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

fugue documentation built on May 1, 2019, 10:26 p.m.