Displaying 1 result from an estimated 1 matches for "datatable2".
Did you mean:
datatable
2010 May 09
4
Fwd: R apply() help -urgent
...ted from
each of these alphabets vs pLoss.
For example, here is what I did for alphabet A and then B and then C.... so
on. (I have attached R-input.csv for your perusal)
> data1 <- read.table("R_input.csv", header = T)
> datatable <- table(data1$A, data1$pLoss) #create a new datatable2 or 3
with table(data1$B.. or (data1$C.. and so on
> datatable
0 1
0 31 4821
1 0 21
now run the Fisher's test for these datatables one by one for the 26
alphabets :(
fisher.test(datatable), ... fisher.test(datatable2)...
in this case, the task is just for 26 columns....