Hello - As someone new to R, I suspect I'm missing something basic, but can't figure out what. I'm hoping someone here can help.
I'm trying to group data, and then filter to remove certain groups. It sort of works. So:
> bob <- group_by(cwm, ordernumber,description,customer)
Does the grouping properly.
>NoLocal <- filter(bob,"description"!="Local Delivery")
Doesn't give me any errors, but it changes all the columns that were chr into numeric ones.
Part of Bob looks like:
However, NoLocal, which I was expecting to just remove all groups that had "Local Delivery" as one of the items, looks like this:
Any and all help appreciated!
Many thanks!