fit_distribution | R Documentation |
Function fit_distribution
fit one of Gamma, Log-normal, Pareto, Exponential, Weibull or GEV distribution to your vector.
fit_distribution(param)
param |
rainfall parameter to fit (one of precipitation depth or time) |
two graphs illustrating the level of fit histogram with theoretical density function and empirical and theoretical CDFs, result table of fit tests and best parameters of fitted distribution.
x <- rgamma(100, shape = 12, rate = 0.2) fit_distribution(x) x <- rlnorm(50, meanlog = 3, sdlog = 1) fit_distribution(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.