Re: [R] A question on vector

2013-06-25 Thread David Carlson
] On Behalf Of Christofer Bogaso Sent: Tuesday, June 25, 2013 9:28 AM To: r-help Subject: [R] A question on vector Hello again, I have found that, in a vector if many elements have same names then calling those elements with their names does not look complete. Here is 1 example: My_Vector <- c(&q

[R] A question on vector

2013-06-25 Thread Christofer Bogaso
Hello again, I have found that, in a vector if many elements have same names then calling those elements with their names does not look complete. Here is 1 example: My_Vector <- c("a" = 'a', "a" = 'b') then, > My_Vector['a'] a "a" I was expecting both elements should be shown up. Is there