search for: aabbbbb

Displaying 1 result from an estimated 1 matches for "aabbbbb".

Did you mean: abbbbbb
2003 Sep 21
1
3 basic questions
...,0,0,1,0,0,1) > dim(x)<-c(3,3) > types<-numeric(3) > for (i in 1:3) { + j<-1 + while (x[i,j]!=1) j<-j+1 + if (j==4) types[i]<-0 + else types[i]<-1 + } Error: subscript out of bounds Any ideas about what is wrong? Second) I have a data file like this: *data1 HHHHHHHHAAAAAABBBBBB... *data2 HHHHHHHAAAAAABBBBBBB... When I use read.table, all the characters are read as one variable. How can I put each of them into a different column? Besides, I want to discard the labels *data1 and *data2. Third) If the same file is like this: *data1 HHHHHHHHAAAA AABBBBB... *data2 HH...