Re: [R] How can I save the result for goodness of fit test

2010-03-17 Thread Michael Friendly
pinusan wrote: Dear All, I run the goodness of fit test using goodfit() in vcd package. The result is as follow: Goodness-of-fit test for poisson distribution X^2 df P( X^2) Pearson 1.053348 2 0.5905661 Warning message: In summary.goodfit(gf) : Chi-squared

[R] How can I save the result for goodness of fit test

2010-03-16 Thread pinusan
Dear All, I run the goodness of fit test using goodfit() in vcd package. The result is as follow: Goodness-of-fit test for poisson distribution X^2 df P( X^2) Pearson 1.053348 2 0.5905661 Warning message: In summary.goodfit(gf) : Chi-squared approximation may be

Re: [R] How can I save the result for goodness of fit test

2010-03-16 Thread Tal Galili
Hi pinusan, If it is possible, please add the code you used and output so to help people here help you. In general, take the object you got, put it inside str and see where you statistic is (but for us to write the code, it would help if you where to add it to your massage) Best, Tal