search for: 102x19

Displaying 1 result from an estimated 1 matches for "102x19".

Did you mean: 10219
2009 Nov 05
1
how to collapse list into a matrix with names
Dear R-Helpers, I have the following code: data = read.csv("test.csv",header=T,na.strings="-",row.names=1) myData=as.matrix(data) ##myData is a 102x19 matrix myList = alply(myData, 2,function(x){matrix(x,ncol=6,byrow=T)}) ##myList is a list containing 19 matrices with the following names > names(myList) [1] "*ES" "*ET" "*ER" "*DS" "*DT" "*DR" [7] &quot...