Remove duplicates and replace

rm_duplicates(.var, fromLast = FALSE, replacement = "")

Arguments

.var

Vector.

fromLast

Logical. Consider duplication from last to first.

replacement

Character for what to replace duplicate with.

Value

Character vector.