[R] vector matching

2010-04-16 Thread Michael Nestrud
Hello all,

I have searched the archives for a similar problem to no avail.  I
could use  your help.

I have a bunch of vectors organized into two matrices, x and y.  These
vectors (as rows) consist of combinations of elements such that order
does not matter.

I want to create a third matrix from the first two, which is basically
all the rows in x and all the rows in y, excluding the rows that they
both have in common.

%in% seems to match individual elements, not entire rows, so something
else is needed.

Any help is appreciated.

Thanks,

-Michael

-- 
Michael A. Nestrud
Cornell U. Sensory Science PhD Candidate
m...@ataraxis.org
All that you taste... all that you eat.

__
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.


[R] teaching R

2009-08-26 Thread Michael Nestrud
Hello all,

I am going to be running a small statistics workshop using R sometime
in November.  I am restricted to R because of the specific libraries I
will be using - a good thing in my book - however the attendees are
unfamiliar with R.  I plan on giving as little R information as
possible - just what is absolute necessary to run the statistics (the
workshop is short, no time to spend hours teaching R).  Has anyone
done anything like this?  Are there any public powerpoint/pdfs/etc.
available for this type of application?

Any advice / what works / what doesn't work is appreciated for those
that have tried this before me.

Sincerely,

-Michael

-- 
Michael A. Nestrud
Cornell U. Sensory Science PhD Student
m...@ataraxis.org
All that you taste... all that you eat.

__
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.