R/uniform_dist.R
cdf.uniform_dist.RdReturns a function that evaluates the uniform CDF at given points.
# S3 method for class 'uniform_dist'
cdf(x, ...)A function function(q, log.p = FALSE, ...) returning the
CDF (or log-CDF) at q.
x <- uniform_dist(0, 10)
F <- cdf(x)
F(5)
#> [1] 0.5
F(10)
#> [1] 1