mutate function is not updating

mutate doesn’t change the tbl_df in place, it just returns the new, changed tbl_df. You need to save the results:

fltr <- mutate(fltr, cat = "xxxxx")

Leave a Comment