Aswad Gurjar
2008-Feb-13 18:43 UTC
[R] Does goodfit() require frequency count of the numbers or numbers themselves?
Hello, I am a student and for project I need R. I have one problem regarding function goodfit(). Does goodfit() require frequency count of numbers or numbers themselves? For example suppose I have data say 150 readings.Do I need to use goodfit() directly on data or should I make suitable no of bins and then apply goodfit()? Aswad [[alternative HTML version deleted]]
Achim Zeileis
2008-Feb-13 19:07 UTC
[R] Does goodfit() require frequency count of the numbers or numbers themselves?
On Thu, 14 Feb 2008, Aswad Gurjar wrote:> Hello, > > I am a student and for project I need R. > I have one problem regarding function goodfit()....from package "vcd".> Does goodfit() require frequency count of numbers or numbers themselves? > For example suppose I have data say 150 readings.Do I need to use goodfit() > directly on data or > should I make suitable no of bins and then apply goodfit()?Let me read the help page to you. ?goodfit says x: either a vector of counts, a 1-way table of frequencies of counts or a data frame or matrix with frequencies in the first column and the corresponding counts in the second column. The examples on the same man page have illustration for various usages of goodfit(). Let me also read the footer of this e-mail to you: PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. best, Z> Aswad > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. > >
Seemingly Similar Threads
- Error while using fitdistr() function or goodfit() function
- (Fwd) Re: goodfit macro
- goodfit() in vcd package: computation of chi-squared
- Error in optim while using fitdistr() function for estimation of parameters
- How to add a legend to a goodness-of-fit plot (vcd:goodfit)?