Displaying 1 result from an estimated 1 matches for "800x260".
Did you mean:
0x260
2006 Nov 08
2
chisq test with for loop
Hi all.
i am desperating. i need a matrix of p.values from an chi square test. i
had it already work but than my computer collapsed when taking the whole
data set 800x260 into account. i am sure it looked like this but it doesn't
work now. can anybody help me? thanks in advance.
x=read.table("C:\...)
d=ncols(x)
z<=matrix(0,d,d)
for(i in 1:d)
for(j in 1:d)
z[i,j]<=chisq.test(x[,i],x[,j])$p.value
round(z,3)
--
View this message in context: http://www....