View source: R/1.3_Distr_DistrCollection_Functions.R
distribution | 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
.
Distr
, DistrCollection
data1 <- rnorm(100, mean = 5, sd = 2)
distribution(data1, distrib = "normal")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.