On Fri, 8 Jan 2010 14:39:34 +0100 Trafim Vanishek <rdapam...@gmail.com> wrote: > I would like to ask if there is a simple was in R to fit the chi-squared > distribution to the empirical data?
Sure. Use the 'fitdistr' function in the 'MASS' package. -- Karl Ove Hufthammer ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.