[R] Basic matrix manipulation problem

Hans Thompson hans.thompson1 at gmail.com
Wed Apr 25 22:55:57 CEST 2012


Yes. This worked very well for what I am trying to do.  The only problem I
had though was figuring out why 

dimnames(a) <- list(c("x","y"), LETTERS[1:4]) 

would not list the rows as x and y.  I changed it though to 

letters[24:25]

Thanks again Petr.

--
View this message in context: http://r.789695.n4.nabble.com/Basic-matrix-manipulation-problem-tp4584734p4588042.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list