If I understand it correctly, you mean to say >a = c(1, 4, 5) >b = c(2, 6, 7)
and m<- rbind(a,b) if you want to see a particular column you can try m[,1] hope it helps, -GS On 3/2/07, yoooooo <[EMAIL PROTECTED]> wrote: > > > Let's say i have > > a = c(1, 4, 5) > b = c(2, 6, 7) > > and i have matrix m, what's an efficient way of access > m[1, 2], m[4, 6], m[5, 7] > like of course m[a, b] = is not going to do, but what's an expression that > will allow me to have that list? > > Thanks! > -- > View this message in context: > http://www.nabble.com/Simplest-question-ever...-tf3329894.html#a9258932 > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@stat.math.ethz.ch 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch 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.