Description Usage Arguments Details Value Author(s) Examples

View source: R/rriskDistributions_functions.R

Fitting amount continuous distributions to given univariate data

1 | ```
useFitdist(data2fit, show.output = TRUE, distributions)
``` |

`data2fit` |
numerical vector, data to be fitted. |

`show.output` |
logical value, if |

`distributions` |
simple character or character vector giving the names of
distribution families, that should be fitted to the data. The possible values
are: |

This function is not intended to be called directly but is internally called
in `fit.cont`

.

Returns matrix with fitting results. More information...

Matthias Greiner [email protected] (BfR),

Kristin Tolksdorf [email protected] (BfR),

Katharina Schueller [email protected] (STAT-UP Statistical Consulting),

Natalia Belgorodski [email protected] (STAT-UP Statistical Consulting)

1 2 3 4 5 6 7 | ```
x1 <- rgamma(374, 4,0.08)
res1 <- useFitdist(data2fit = x1)
res1
x2 <- rbeta(300, shape1 = 1, shape2 = 2)
res2 <- useFitdist(data2fit = x2)
res2
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.