Learn R Programming

RxODE (version 1.1.5)

gammapInv: gammapInv and gammapInva: Inverses of normalized gammap function

Description

gammapInv and gammapInva: Inverses of normalized gammap function

Usage

gammapInv(a, p)

gammapInva(x, p)

Arguments

a

The numeric 'a' parameter in the upper incomplete gamma

p

The numeric 'p' parameter in the upper incomplete gamma

x

The numeric 'x' parameter in the upper incomplete gamma

Value

inverse gammap results

Details

With the equation:

p = gammap(a, x)

The 'gammapInv' function returns a value 'x' that satisfies the equation above

The 'gammapInva' function returns a value 'q' that satisfies the equation above

NOTE: gammapInva is slow

Examples

Run this code
# NOT RUN {
gammapInv(1:3, 0.5)

gammapInv(1, 1:3 / 3.1)

gammapInv(1:3, 1:3 / 3.1)

gammapInva(1:3, 1:3 / 3.1)
# }

Run the code above in your browser using DataLab