[R] Common elements

Silvano Cesar da Costa @||v@no @end|ng |rom ue|@br
Fri Mar 8 18:51:20 CET 2019


Hi,

I have a dataset with ten columns, but I need extract only lines that has
common elements.
The columns are:

      Animal Mother
 [1,]   1143    430
 [2,]   1144    134
 [3,]   1146      3
 [4,]   1147    151
 [5,]   1150    230
 [6,]   1156    290
 [7,]   1157    227
 [8,]   1159    757
 [9,]   1160      3
[10,]   1161    236
[11,]   1162    231
[12,]   1164    132
[13,]   1165    420
[14,]   1168    290
[15,]   1169    229
[16,]   1172    425
[17,]   1173    134
[18,]   1174    234
[19,]   1175    233
[20,]   1178    239
[21,]   1179    757
[22,]   1180    236
[23,]   1185    420
[24,]   1186    389
[25,]   1190    425
[26,]   1192    235

How can I do this?

Thanks.

Prof. Dr. Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamento de Estatística

Fone: (43) 3371-4346

	[[alternative HTML version deleted]]



More information about the R-help mailing list