I have the following data.
X_vegesum X_bmi5cat
53 Obese
148 Underweight
643 Normal weight
167 Normal weight
In the second column, I have a value "Normal weight" which is having a space in it. Now when I try to filter out only "Normal weight" values using the following code, I get NULL answer.
data%>% filter(X_bmi5cat == 'Normal Weight')
I get 0 rows for this filtering. Perhaps, there is a space in 'Normal Weight'. It is working fine for other values with no space.