[R] Extracting non-matching elements of one vector from another
bgunter.4567 at gmail.com
Sat Dec 31 19:46:32 CET 2016
## It's a wrapper for ?match
You should go through an R tutorial or two to learn about such handy
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sat, Dec 31, 2016 at 10:36 AM, Dan Abner <dan.abner99 at gmail.com> wrote:
> Hi all,
> I have 2 vectors and need to extract only the elements from v2 that do not
> appear in v1. What is the most efficient way to do this?
> In the example below, I need to extract "var1".
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help