Newbie here, please bear in mind, if I come off somewhat confusing.
I have a question regarding the dataset I'm working on.
I have a single variable with 40 unique values. The issue is that some of these values should be merged into a single one. For an example I have a value called "banana" another one called "apple" and a last one called "grape" and I want to merge them into a value called "fruit".
As the image shows I have 40 values. Some of these like "S", "S, S", "S, EL", "Udpeget af S, S", "S, RV" I want to merge these into a single value, as the observations are to be treated as a single value/category.
Glad that set you back on track. This community exists to help R users at all levels solve problems and learn enough to be able to help themselves and eventually help others.