Skip to content
Back to formatted view

Raw Message

Message-ID: <4a1c0a5a95c204eae50e8898274423f2.squirrel@webmail.uel.br>
Date: 2012-09-02T23:05:38Z
From: Silvano
Subject: Common elements in columns

Hi,

I have 4 files with 10000 individuals in each file and 10 columns each.
One of the columns, say C1, may have elements in common with the other
columns C1 of other files.

If I have only 2 files, I can do this check with the command:

data1[data1 %in% data2]
data2[data2 %in% data1]

How do I check which common elements in the columns of C1 4 files?

Thanks,

---------------------------------------------
Silvano Cesar da Costa

Universidade Estadual de Londrina
Centro de Ci?ncias Exatas
Departamento de Estat?stica

Fone: (43) 3371-4346