powered by
Remove duplicated term
removeDup(x, replacement = "")
A vector with the same class as x
A vector
A character to be replaced or NA
x=rep(1:5,each=3) removeDup(x)
Run the code above in your browser using DataLab