Re: [R] Missing data (Na) and chi-square tests

2012-10-08 Thread Rerda
Dear Rui and David Thank you very much for taking your time to look at my problem. However, I still cannot seem to figure it out. I think that you David are corect in your assumption of how my data is structured. The data in the two columns that I need to cross-table is either 1 or 0. I made a mi

[R] Missing data (Na) and chi-square tests

2012-10-05 Thread Rerda
Dear everyone I am a bit of a computer imbecile and are having problems with R. I am using R in my research project to do chi-square tests on data imported from excel . However I have som missing data in one of my variables (columns) and I need R to "exclude" these and make chi-square test on the