search for: to19

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

Did you mean: t19
2008 Jun 05
1
quite complicated case(the repeated data arranage~)
...for this example I will have 6 new matrix,according to id. it is reasonable to do this in loop for,but the I met some problem: 1:how to automatically generate the new title such as treatment1 and age1 until treatment 500,age500 2:as you see,id is not strictly from 1 to 500,some time it jump from 15 to19,skip 16,17,18, if I write a loop,it will give me lot NA,certainly I need a way to avoid this and one more,say I have 100 vectors like x1....x100,x1<-c(1,3),x2<-x(2,2),...x100<-(number,number) I want to combine all this 100 vectors in one new vector say Xall which is Xall<-cbind(x1,x2,....