Learn R Programming

algebraic.dist (version 0.9.1)

cdf.lognormal: Cumulative distribution function for a log-normal distribution.

Description

Returns a function that evaluates the log-normal CDF at given points.

Usage

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

Value

A function function(q, log.p = FALSE, ...) returning the CDF (or log-CDF) at q.

Arguments

x

A lognormal object.

...

Additional arguments (not used).

Examples

Run this code
x <- lognormal(0, 1)
F <- cdf(x)
F(1)
F(2)

Run the code above in your browser using DataLab