Re: [R] two sample chi-squared test

2010-01-29 Thread David Winsemius
On Jan 29, 2010, at 11:11 AM, eric lee wrote: Hello, Can you tell me what R function to use to do a two-sample chi-squared test? I want to see if two distributions are significantly different from each other, and I don't specify the theoretical distribution of either. For example, I have the

[R] two sample chi-squared test

2010-01-29 Thread eric lee
Hello, Can you tell me what R function to use to do a two-sample chi-squared test? I want to see if two distributions are significantly different from each other, and I don't specify the theoretical distribution of either. For example, I have the following fake count data: x <- sample(1:10,50,r