Re: [R] chisq.test in batch

2007-10-11 Thread Ted Harding
On 11-Oct-07 22:11:46, João Fadista wrote: > Dear all, > > I would like to compute hundreds of chisq.test ´s, and for each test > output I would like to extract only the p-values. So my question is: > how can I make this without making it manually? ?chisq.test (under "Value") tells you that one

[R] chisq.test in batch

2007-10-11 Thread João Fadista
Dear all, I would like to compute hundreds of chisq.test ´s, and for each test output I would like to extract only the p-values. So my question is: how can I make this without making it manually? Example: # Test nº1 > chisq.test(c(220,240)) Chi-squared test for given probabilit