Skip to content

naming rows and columns in a matrix

3 messages · Math Girl, jim holtman, Gabor Grothendieck

#
?rownames
?colnames
[1] "name 1" "name 2" "name 3" "name 4" "name 5" "name 6" "name 7"

        
On Sun, Dec 28, 2008 at 12:43 PM, Math Girl <mathmathgurl at yahoo.com> wrote:

  
    
#
Please read the last line to every message to r-help.  There is no
code in your post so we have no idea what you did wrong.
A B C  D
a 1 4 7 10
b 2 5 8 11
c 3 6 9 12
[1] "a" "b" "c"
[1] "A" "B" "C" "D"
[[1]]
[1] "a" "b" "c"

[[2]]
[1] "A" "B" "C" "D"
On Sun, Dec 28, 2008 at 12:43 PM, Math Girl <mathmathgurl at yahoo.com> wrote: