Hi

I have three vectors say x, y, z. One of them, x contains observations
on a variable. To x I want to append all observations from y and
remove all from z. For appending c() is easily used

x <- c(x,y)

But how do I remove all observations in z from x? You can say I am
looking for the opposite of c().

Best regards

______________________________________________
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