Re: [R] How are Matrices accessed

2013-09-09 Thread Pascal Oettli
Hello, 1. You don't say which library you used (I found by myself) 2. The second structure is wrong 3. What specific way is it supposed to follow? Hereafter is how I understand it: > plot(layout, t='n') > text(layout, unique(c(t(data Regards, Pascal 2013/9/10 Luca Gaegauf > Hey everyon

[R] How are Matrices accessed

2013-09-09 Thread Luca Gaegauf
Hey everyone, I have a small problem understanding how matrices are accessed. I created 2 matrices: data <- structure(c("A", "B", "C", "D", "D", "E", "H", "H", "H", "I", "F", "G", "F", "F", "G", "G", "F", "G", "I", "J"), .Dim = c(10L, 2L), .Dimnames = l