Displaying 1 result from an estimated 1 matches for "a11273379".
Did you mean:
1127339
2007 Jun 23
1
warning in a loop
hi all,
I have a matrix with first column having some measurable values, these are
indexed by the numerals 1,2 and 3 in the other columns of the data and may
be interpreted as values for categories 1,2 and 3.
I have written the following loop
t<-1:10
for(i in 1:10)
+ {
+ k[i]<-d[(d[,(i+1)]%in%1),1]
+ p[i]<-d[(d[,(i+1)]%in%2),1]
+ t[i]<-t.test(k[i],p[i])$p.value
+ }
Error in