Crandore Hub

rriskDistributions

Fitting Distributions to Given Data or Known Quantiles

Collection of functions for fitting distributions to given data or by known quantiles. Two main functions fit.perc() and fit.cont() provide users a GUI that allows to choose a most appropriate distribution without any knowledge of the R syntax. Note, this package is a part of the 'rrisk' project.

README

<!-- README.md is generated from README.Rmd. Please edit that file -->
rriskDistributions
==================

[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/rriskDistributions)](http://cran.r-project.org/package=rriskDistributions) [![travis\_build\_badge\_for\_dev\_branch](https://travis-ci.org/BfRstats/rriskDistributions.svg?branch=dev)](https://travis-ci.org/BfRstats/rriskDistributions)

`rriskDistributions` is a collection of functions for fitting distributions to given data or known quantiles.

The two main functions `fit.perc()` and `fit.cont()` provide users a GUI that allows to choose a most appropriate distribution without any knowledge of the R syntax. Note that this package is part of the [rrisk](http://www.bfr.bund.de/en/rrisk__risk_modelling_and_auto_reporting_in_r-52162.html) project.

E.g., we can fit random data generated from a gamma distribution with `fit.cont()`:

``` r
res <- fit.cont(data2fit = rgamma(n = 37, shape = 4, rate = 0.08))
```

This will open a new window where the user can inspect diagnostic plots for a variety of possible distributions and then choose the distribution she wants to continue working with (the chosen distribution will be stored in the `res` variable):

![diagnostic plots](tools/README-diagnostic_plots-fitting_continuous_distributions.png)

Updating to the latest version of rriskDistributions
----------------------------------------------------

You can track (and contribute to) development of `rriskDistributions` at <https://github.com/BfRstats/rriskDistributions>. To install it, run the following command (this requires the `devtools` package):

``` r
devtools::install_github("BfRstats/rriskDistributions")
```

Authors
-------

-   Natalia Belgorodski (STAT-UP Statistical Consulting)
-   Matthias Greiner (Federal Institute for Risk Assessment, Germany)
-   Kristin Tolksdorf (Federal Institute for Risk Assessment, Germany)
-   Katharina Schueller (STAT-UP Statistical Consulting)

With contributions from

-   Lutz Göhring (Lutz Göhring Consulting)
-   Matthias Flor (Federal Institute for Risk Assessment, Germany)

Versions across snapshots

VersionRepositoryFileSize
2.1.2 rolling linux/jammy R-4.5 rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 rolling linux/noble R-4.5 rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 rolling source/ R- rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 latest linux/jammy R-4.5 rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 latest linux/noble R-4.5 rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 latest source/ R- rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 2026-04-26 source/ R- rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 2026-04-23 source/ R- rriskDistributions_2.1.2.tar.gz 113.9 KiB
2.1.2 2026-04-09 windows/windows R-4.5 rriskDistributions_2.1.2.zip 398.1 KiB
2.1.2 2025-04-20 source/ R- rriskDistributions_2.1.2.tar.gz 113.9 KiB

Dependencies (latest)

Imports