Learn R Programming

algebraic.dist (version 0.9.1)

inv_cdf.lognormal: Inverse CDF (quantile function) for a log-normal distribution.

Description

Returns a function that computes quantiles of the log-normal distribution.

Usage

# S3 method for lognormal
inv_cdf(x, ...)

Value

A function function(p, lower.tail = TRUE, log.p = FALSE, ...)

returning the quantile at probability p.

Arguments

x

A lognormal object.

...

Additional arguments (not used).

Examples

Run this code
x <- lognormal(0, 1)
q <- inv_cdf(x)
q(0.5)
q(0.95)

Run the code above in your browser using DataLab