Re: [R] chisq.test on samples of different lengths

2010-08-24 Thread peter dalgaard
On Aug 24, 2010, at 4:12 PM, Marino Taussig De Bodonia, Agnese wrote: > Hello, > > I am trying to see whether there has been a significant difference in whether > people experienced damages from wildlife in two different years. I therefore > have two columns: > > year 1: > yes > no > no > no

Re: [R] chisq.test on samples of different lengths

2010-08-24 Thread David Winsemius
On Aug 24, 2010, at 10:12 AM, Marino Taussig De Bodonia, Agnese wrote: Hello, I am trying to see whether there has been a significant difference in whether people experienced damages from wildlife in two different years. I therefore have two columns: year 1: yes no no no yes yes no year

[R] chisq.test on samples of different lengths

2010-08-24 Thread Marino Taussig De Bodonia, Agnese
Hello, I am trying to see whether there has been a significant difference in whether people experienced damages from wildlife in two different years. I therefore have two columns: year 1: yes no no no yes yes no year 2: no yes no yes I wanted to do a chisq.test, but if I enter it this way: c