I'm trying to remove duplicate elements from my dataframe.
# A tibble: 12 x 3
g h i
<dbl> <chr> <int>
1 1 a 1
2 1 b 2
3 1 c 3
4 1 d 4
5 2 a 5
6 2 b 6
7 2 c 7
8 2 d 8
9 1 a 9
10 1 b 10
11 1 c 11
12 1 d 12
But each element has 4 rows each. I want him to stay that way.
# A tibble: 8 x 3
g h i
<dbl> <chr> <int>
1 1 a 1
2 1 b 2
3 1 c 3
4 1 d 4
5 2 a 5
6 2 b 6
7 2 c 7
8 2 d 8
I've tried distinct ()
or unique()
but it didn't work.