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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to