Triangular | R Documentation |
Create a Triangular distribution
Triangular(a = 0, b = 1, c = 0.5)
a |
The a parameter (lower bound). 'a' can be any value in the set of real numbers. Defaults to '0'. |
b |
The b parameter (upper bound). 'b' can be any value in the set of real numbers. It should be strictly bigger than 'a'. Defaults to '1'. |
c |
The c parameter (peak). 'c' can be any value in the set of real numbers. It should be strictly between 'a' and 'b'. Defaults to '0.5'. |
A 'Triangular' object.
Other continuous distributions:
GEVmin2()
,
GEVmin()
,
GEV()
,
GPDmin2()
,
GPDmin()
,
GPD()
,
KDB4()
,
KDB()
set.seed(27)
X <- Triangular(a=0,b=4,c=1)
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.