Uniform | R Documentation |
A distribution with constant density on an interval. The
continuous analogue to the Categorical()
distribution.
Uniform(a = 0, b = 1)
a |
The a parameter. |
b |
The a parameter. |
A Uniform
object.
Other continuous distributions:
Beta()
,
Cauchy()
,
ChiSquare()
,
Erlang()
,
Exponential()
,
FisherF()
,
Frechet()
,
GEV()
,
GP()
,
Gamma()
,
Gumbel()
,
LogNormal()
,
Logistic()
,
Normal()
,
RevWeibull()
,
StudentsT()
,
Tukey()
,
Weibull()
set.seed(27)
X <- Uniform(1, 2)
X
random(X, 10)
pdf(X, 0.7)
log_pdf(X, 0.7)
cdf(X, 0.7)
quantile(X, 0.7)
cdf(X, quantile(X, 0.7))
quantile(X, cdf(X, 0.7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.