If I understand:
unique(t(apply(rbind(x, y), 1, sort)))
On Fri, Apr 16, 2010 at 11:05 AM, Michael Nestrud wrote:
> 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
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 t
2 matches
Mail list logo