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

397

Version

1.5.8

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Berry Boessenkool

Last Published

August 29th, 2023

Functions in extremeStat (1.5.8)

extremeStat

Extreme value statistics on a linear scale
plotLexBoot

Bootstrapping uncertainty intervals for return periods
q_weighted

Compute weighted averages of quantile estimates
quantGPD

Fast GPD quantile estimate
printL

print dlf objects
annMax

annual discharge maxima (streamflow)
distLexBoot

Bootstrapping uncertainty intervals for return periods
q_gpd

GPD quantile of sample
plotLfit

Plot distributions fitted with L-moments
distLweights

Compute distribution weights from GOF
distLfit

Fit distributions via L-moments
plotLextreme

Plot extreme value statistics
distLquantile

distribution quantiles
weightp

distribution weights
distLextreme

Extreme value stats
plotLquantile

Plot quantiles of distributions fitted with L-moments
plotLweights

Distribution rank comparison