R/generic_dist.R
cdf.Rd
Generic method for obtaining the cdf of an object.
cdf(x, ...)
The object to obtain the cdf of.
Additional arguments to pass.
A function computing the cumulative distribution function.
x <- normal(0, 1) F <- cdf(x) F(0) # 0.5 (median of standard normal) #> [1] 0.5 F(1.96) # approximately 0.975 #> [1] 0.9750021