fitdistr package:MASS R Documentation
Maximum-likelihood Fitting of Univariate Distributions
Description:
Maximum-likelihood fitting of univariate distributions, allowing
parameters to be held fixed if desired.
Usage:
fitdistr(x, densfun, start, ...)
Arguments:
x: A numeric vector.
densfun: Either a character string or a function returning a density
evaluated at its first argument.
Distributions `"beta"', `"cauchy"', `"chi-squared"',
`"exponential"', `"f"', `"gamma"', `"log-normal"',
`"lognormal"', `"logistic"', `"negative binomial"',
`"normal"', `"t"', `"uniform"' and `"weibull"' are
recognised, case being ignored.