fitdistr.grouped function

Maximum-likelihood fitting of a univariate distribution from grouped data