Re: [R] Help on performing multiple chi-square tests

2008-11-09 Thread Jorge Ivan Velez
Dear Tania, An option would be splitting the data by marker and the perform the chi-square test selecting both the statistics and p-value for each marker. Here is an example: # Dummy data set mydata=read.table(textConnection(" Marker Treatment Genotype1 Genotype2 Genotype3 1A 23

[R] Help on performing multiple chi-square tests

2008-11-09 Thread QUESADA,TANIA
Hi, I am new to R and I need to perform multiple chi-square tests. I manage to perform one at a time, but is there a specific command to do multiple tests? For example, I have a table that looks like this: Marker Treatment Genotype1 Genotype2 Genotype3 1A 2357