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.
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)
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!).