Learn R Programming

⚠️There's a newer version (1.5.9) of this package.Take me there.

intro

Fit, plot and compare several (extreme value) distributions. Can also compute (truncated) distribution quantile estimates and draw a plot with return periods on a linear scale.

See the Vignette for an introduction to the package.

installation

Install / load the package and browse through the examples:

install.packages("extremeStat")
library(extremeStat)
vignette(extremeStat)

# update to the current development version, incl. vignette:
if(!requireNamespace("remotes", quitly=TRUE)) install.packages("remotes")
remotes::install_github("brry/extremeStat", build_vignettes=TRUE)

trouble

If direct installation from CRAN doesn't work, your R version might be too old. In that case, an update is really recommendable: r-project.org. If you can't update R, try installing from source (github) as mentioned above. If that's not possible either, here's a manual workaround: click on Clone or Download - Download ZIP (topright, link), unzip the file to some place, then

setwd("that/path")
dd <- dir("extremeStat-master/R", full=T)
dummy <- sapply(dd, source)

This creates all R functions as objects in your globalenv workspace (and overwrites existing objects of the same name!).

Copy Link

Version

Install

install.packages('extremeStat')

Monthly Downloads

412

Version

1.5.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Berry Boessenkool

Last Published

November 16th, 2022

Functions in extremeStat (1.5.3)

extremeStat

Extreme value statistics on a linear scale
annMax

annual discharge maxima (streamflow)
distLweights

Compute distribution weights from GOF
distLfit

Fit distributions via L-moments
distLexBoot

Bootstrapping uncertainty intervals for return periods
plotLextreme

Plot extreme value statistics
q_weighted

Compute weighted averages of quantile estimates
q_gpd

GPD quantile of sample
plotLquantile

Plot quantiles of distributions fitted with L-moments
printL

print dlf objects
plotLweights

Distribution rank comparison
weightp

distribution weights
quantGPD

Fast GPD quantile estimate
distLquantile

distribution quantiles
distLextreme

Extreme value stats
plotLexBoot

Bootstrapping uncertainty intervals for return periods
plotLfit

Plot distributions fitted with L-moments