Displaying 1 result from an estimated 1 matches for "288101".
Did you mean:
28810
2004 Dec 17
2
Matrix and rownames problem
Hi,
I'm quite new to R, so excuse me if this problem has a simple solution.
I'm working with an array, lets say
i <- array(c(1:3,3:1), dim=c(3,2))
Then I want to give the rows and the columns names:
rownames(i)<-c("a","b","c")
colnames(i)<-c("d","e")
The result is given below:
d e
a 1 3
b 2 2
c 3 1
Here comes my problem.