1-) If I have a column that represents months (M1, M2, M3, M4.. M12 ... M1, M2, ...), how to use a function that replace each one to (01, 02, 03, 04...) ? I have tried to use mutate and replace together , but no success. It just worked with ifelse function, but it's very large.
My second question:
If I have a column that has a lot of character names, how do I filter more than 10 names inside this column ?
I have tried filter(column== c("xx", "xy" ...)), but the filter result was incorrect and I got this message: longer object length is not a multiple of shorter object length