Just a quick one, I'm trying to eliminate a string of text in my dataset in a specific column. When I call summary(mydata$myanimals), I get a strange result in the form of:
Ant: 100 Bat: 100 Cat: 100 Dog: 0 Emu: 100
Why would there be a "0" for records labeled "Dog". I've tried dplyr to filter it out, but it remains like this when calling the summary function. Any insights? I'd like to get rid of Dog all together but it won't go away.