Last chance! 50% off unlimited learning
Sale ends in
The distribution parameter object returned by functions of lmomco such as by pargev
are typed by an attribute type
. This function checks that type
is gev
for the Generalized Extreme Value distribution.
is.gev(para)
If the type
attribute is gev
.
If the type
is not gev
.
A parameter list
returned from pargev
or vec2par
.
W.H. Asquith
pargev
para <- pargev(lmoms(c(123,34,4,654,37,78)))
if(is.gev(para) == TRUE) {
Q <- quagev(0.5,para)
}
Run the code above in your browser using DataLab