| uniform_dist | R Documentation |
Creates an S3 object representing a continuous uniform distribution on the
interval [min, max]. The PDF is f(x) = 1/(max - min) for
min \le x \le max.
uniform_dist(min = 0, max = 1)
min |
Lower bound of the distribution (default 0). |
max |
Upper bound of the distribution (default 1). |
A uniform_dist object with classes
c("uniform_dist", "univariate_dist", "continuous_dist", "dist").
x <- uniform_dist(min = 0, max = 10)
mean(x)
vcov(x)
format(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.