Is there an Abstract Data Type set in R?
My problem is that I do not know how to remove repeated elements in a vector.
In python I just 'feed' a vector to a set.
How can I do this in R?
This is a feed of questions about R from StackOverflow.com. Follow the link at the bottom of each question to find answers from StackOverflow.com users.
StackOverflow user contributions are licensed under cc-wiki with attribution required.
inside-R.org is a collection of resources about the open-source R Project for the R Statistics Community. This site is sponsored by Revolution Analytics.
Follow @inside_R on Twitter for updates about this site.
If you have questions or ideas for the site, please send us an email at community@inside-R.org.