I encountered a very confusing problem. When I run this code, I cannot get its results. Prompt to:
Error in mutate_at(., vars(oac_grp, sex, age_band, age_sex), ~factor(.)) : There is no "mutate_at" function
These are different commands.
The first one you must do once to have dplyr on your system. The second one you need once in every subsequent r session if you want to use the dplyr functionality in that session.