How to remove consecutive duplicate values in a dataset in R?
Hello
How to remove consecutive duplicate values in a dataset In R?
from
1,2,3,1,2,2,2,3,1,2,3
to
1,2,3,1,2,3,1,2,3
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Sachin SinghRank #66 · 26.2K reputationPosted Nov 27, 2020, 7:36 PM EST
Harsh ShahRank #1,322 · 1.3K reputationPosted Dec 1, 2020, 5:06 PM EST