Displaying 1 result from an estimated 1 matches for "tp3206797p3206797".
2011 Jan 10
5
Changing a logical matrix into a numeric matrix
...UE FALSE
[3,] TRUE TRUE TRUE
[,1] [,2] [,3]
[1,] 1 0 0
[2,] 1 1 0
[3,] 1 1 1
Is there a quick way of doing this without a loop?
Thanks Emma
--
View this message in context: http://r.789695.n4.nabble.com/Changing-a-logical-matrix-into-a-numeric-matrix-tp3206797p3206797.html
Sent from the R help mailing list archive at Nabble.com.