How to rename values in a column of data which appear less than x time in R? : I want to rename some values in a column of my data which appears less than 5 time. I know how to delete them but I need to rename them. 