dtmev | R Documentation |
Quantile function for the TMEV distribution with a Weibull parent distribution.
dtmev(x, data)
ptmev(q, data)
qtmev(p, data)
x , q |
Numeric vector or single value of probabilities for |
data |
A data frame with at least columns |
p |
Numeric vector or single value of probabilities for |
dtmev
gives the density function, ptmev
gives the distribution function,
and qtmev
gives the quantile function of the TMEV.
ptmev()
: distribution quantile function
qtmev()
: distribution quantile function
data(dailyrainfall)
fit <- ftmev(dailyrainfall)
rp <- pp.weibull(fit$maxima)
rl <- qtmev(1 - 1 / rp, fit$data)
plot(rp, sort(fit$maxima), main = "TMEV", ylab = "return level", xlab = "return period (years)")
lines(rp, rl, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.