dgumbel: The Gumbel distribution

View source: R/gumbel.R

dgumbelR Documentation

The Gumbel distribution

Description

Density, distribution and quantile functions, and random number generation for the Gumbel distribution

Usage

dgumbel(x, mu, sigma, log.d = FALSE)

rgumbel(n, mu, sigma)

pgumbel(q, mu, sigma, lower.tail = TRUE, log.p = FALSE)

qgumbel(p, mu, sigma, lower.tail = TRUE, log.p = FALSE)

Arguments

x, q, p

Vectors of quantiles or probabilities.

mu

The location parameter.

sigma

The scale parameter.

log.d, log.p

Whether to return logged values, or to treat probabilities/densities as being logged.

n

The number of observations.

lower.tail

Whether to return the lower tail. If lower.tail=FALSE, the upper tail is returned.


texmex documentation built on June 22, 2024, 12:26 p.m.