R/beta_dist.R
cdf.beta_dist.Rd
Returns a function that evaluates the beta CDF at given points.
# S3 method for class 'beta_dist' cdf(x, ...)
A beta_dist object.
beta_dist
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 <- beta_dist(2, 5) F <- cdf(x) F(0.3) #> [1] 0.579825 F(0.5) #> [1] 0.890625