A quick question, please!

How do you extract a certain value of vector?
i.e. x = c(2,5,3,6,21,3,6,24, ....)

How do you get the 1st one (which is 2); the 5th one (which is 21); etc?

thx much,

 ej

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.

Reply via email to