R/lognormal.R
cdf.lognormal.Rd
Returns a function that evaluates the log-normal CDF at given points.
# S3 method for class 'lognormal' cdf(x, ...)
A lognormal object.
lognormal
Additional arguments (not used).
A function function(q, log.p = FALSE, ...) returning the CDF (or log-CDF) at q.
function(q, log.p = FALSE, ...)
q
x <- lognormal(0, 1) F <- cdf(x) F(1) #> [1] 0.5 F(2) #> [1] 0.7558914