Hi,

I don't have too much programming experience - sorry in advance if this question
is very basic, and thanks for the help.

I have a vector of numbers and another vector of a subset of those numbers. How
can I create a third vector with all the numbers in the original list that
aren't in the given subset. Like this:

List1   subset --> result
1       1           2
2       3
3       4
4       5
5

Thank you so much!
-Nina

______________________________________________
R-help@r-project.org 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