distribution {r6qualitytools} | R Documentation |
Calculates the most likely parameters for a given distribution.
distribution(x = NULL, distrib = "weibull", ...)
x |
Vector of distributed values from which the parameter should be determined. |
distrib |
Character string specifying the distribution of x. The function
By default, |
... |
Additional arguments to be passed to the fitting function. |
distribution()
returns an object of class DistrCollection
.
data1 <- rnorm(100, mean = 5, sd = 2)
distribution(data1, distrib = "normal")