Hi guys, I am trying to set up a matrix of 29 columns and n rows from temp data set by using the proc IML. My next step is that I need to transpose the matrix Please help me to understand what I am doing wrong use work.matr_2 read all var (ID Type Code Day Var 1.....Var 24) into rm; read all var (Day) into rm; n=NROW (rm); m=NCOL (rm); d= J(n,1,m); c=d; d=rm[ . ,29]/rm[. ,1]; c=rm[., 29]-rm[. , 2]; x = rm || d||c; append from x; quit;
... View more