Input file:
y <- read.table(textConnection('
c1 c2 c3
1 a b -1
2 a b -1
3 a c 1
4 a b 1
5 a b -1
'), header=TRUE)
thus, y is
c1 c2 c3
1 a b -1
2 a b -1
3 a c 1
4 a b 1
5 a b -1
the output file would be:
c1 c2 c3
1 a b -1
3 a c 1
4 a b 1
How to remove multiple or duplicate rows with same entry in all columns?