I'm trying to to apply mutate over multiple columns.
My dataframe contains 10 columns that are named:
Anne
Carol
Jane
Sophanie
Gordon
Donald
Jeffrey
Adam
Sophie
Smith
Until now I've done the following to select the columns one by one:
dataframe$Anne
dataframe$Carol
And so forth.
Now I want to use a mutate
function so I can select all these 10 names in a single pipe/command. How do I do that?