Gumbel | R Documentation |
A R6 class to represent a Gumbel distribution.
See Wikipedia.
a
Get or set the value of a
.
b
Get or set the value of b
.
new()
New Gumbel distribution.
Gumbel$new(a, b)
a
location parameter
b
scale parameter, >0
A Gumbel
object.
d()
Density function of the Gumbel distribution.
Gumbel$d(x, log = FALSE)
x
numeric vector
log
Boolean, whether to return the logarithm of the density
The density or the log-density evaluated at x
.
p()
Cumulative distribution function of the Gumbel distribution.
Gumbel$p(q, lower = TRUE)
q
numeric vector of quantiles
lower
Boolean, whether to deal with the lower tail
The cumulative probabilities corresponding to q
.
q()
Quantile function of the Gumbel distribution.
Gumbel$q(p, lower = TRUE)
p
numeric vector of probabilities
lower
Boolean, whether to deal with the lower tail
The quantiles corresponding to p
.
r()
Sampling from the Gumbel distribution.
Gumbel$r(n)
n
number of simulations
A numeric vector of length n
.
mean()
Mean of the Gumbel distribution.
Gumbel$mean()
The mean of the Gumbel distribution.
median()
Median of the Gumbel distribution.
Gumbel$median()
The median of the Gumbel distribution.
mode()
Mode of the Gumbel distribution.
Gumbel$mode()
The mode of the Gumbel distribution.
sd()
Standard deviation of the Gumbel distribution.
Gumbel$sd()
The standard deviation of the Gumbel distribution.
variance()
Variance of the Gumbel distribution.
Gumbel$variance()
The variance of the Gumbel distribution.
skewness()
Skewness of the Gumbel distribution.
Gumbel$skewness()
The skewness of the Gumbel distribution.
kurtosis()
Kurtosis of the Gumbel distribution.
Gumbel$kurtosis()
The kurtosis of the Gumbel distribution.
kurtosisExcess()
Kurtosis excess of the Gumbel distribution.
Gumbel$kurtosisExcess()
The kurtosis excess of the Gumbel distribution.
clone()
The objects of this class are cloneable with this method.
Gumbel$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.