cdf.uniform_dist: Cumulative distribution function for a uniform distribution.

View source: R/uniform_dist.R

cdf.uniform_distR Documentation

Cumulative distribution function for a uniform distribution.

Description

Returns a function that evaluates the uniform CDF at given points.

Usage

## S3 method for class 'uniform_dist'
cdf(x, ...)

Arguments

x

A uniform_dist object.

...

Additional arguments (not used).

Value

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

Examples

x <- uniform_dist(0, 10)
F <- cdf(x)
F(5)
F(10)

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.