Learn R Programming

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:
remotes::install_github("brry/extremeStat", build_vignettes=TRUE)

trouble

If normal installation doesn't work, click on Code - Download ZIP (topright), 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

407

Version

1.5.11

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Berry Boessenkool

Last Published

July 28th, 2025

Functions in extremeStat (1.5.11)

plotLweights

Distribution rank comparison
weightp

distribution weights
distLweights

Compute distribution weights from GOF
plotLquantile

Plot quantiles of distributions fitted with L-moments
printL

print dlf objects
q_weighted

Compute weighted averages of quantile estimates
q_gpd

GPD quantile of sample
annMax

annual discharge maxima (streamflow)
extremeStat-package

extremeStat: Extreme Value Statistics and Quantile Estimation
distLextreme

Extreme value stats
extremeStat

Extreme value statistics on a linear scale
plotLexBoot

Bootstrapping uncertainty intervals for return periods
distLexBoot

Bootstrapping uncertainty intervals for return periods
distLquantile

distribution quantiles
distLfit

Fit distributions via L-moments
quantGPD

Fast GPD quantile estimate
plotLfit

Plot distributions fitted with L-moments
plotLextreme

Plot extreme value statistics