logical; if TRUE, probabilities \(p\) are given as \(log(p)\), default: FALSE.
lower.tail
logical; if TRUE, probabilities are \(P[X \le x]\) otherwise, \(P[X > x]\), default: TRUE.
p
vector of probabilities.
n
number of observations.
Value
dfrechet gives the density, pfrechet gives the distribution function, qfrechet gives the quantile function, and
rfrechet generates random deviates.
Invalid arguments will result in return value NaN, with a warning.
Details
The Frechet distribution function with location parameter \(m\), scale parameter \(s\) and shape parameter
\(\alpha\) has density given by
$$f(x)=\alpha/s z^(-\alpha-1) e^-z^-\alpha$$ for \(x>m\), where \(z=(x-m)/s\). The cumulative distribution function is
$$F(x)=e^-z^-\alpha$$ for \(x>m\), with \(z\) as stated above.