Re: [R] difference between "names", "colnames" and "dimnames"

2009-07-01 Thread Don MacQueen
I think your problem is with plotting, not with naming. Tell the list what kind of plot you're doing (with example code, of course) and where you need to see names on the plot. (What do you have in mind when you say names for the "whole" matrix? There are row names, and column names, and th

Re: [R] difference between "names", "colnames" and "dimnames"

2009-06-30 Thread jim holtman
You should be doing colnames(tester) <- c("uno","dos","tres","cuatro","cinco","seis","siete","ocho") On Tue, Jun 30, 2009 at 7:08 PM, Germán Bonilla wrote: > Hi all... > > I built a matrix binding vectors with rbind, and have something like this: > >[,1] [,2][,3] [,4] [,

[R] difference between "names", "colnames" and "dimnames"

2009-06-30 Thread Germán Bonilla
Hi all... I built a matrix binding vectors with rbind, and have something like this: [,1] [,2][,3] [,4] [,5] [,6] [,7] [,8] CLS 3.877328 4.087636 4.72089 4.038361 3.402942 2.786285 2.671222 3.276419 ORD NaN NaN NaN NaN 5.770780 5.901113 11.