Hello everybody! I have just begun to learn R and to apply it to my assignments. As a cub, I find it very tricky to handle variable alternation, especially in batches. And now I am trying to figure out how to (or is it possible to) alternate the variable type in a parametric way. For example, in a 26-column tibble, what should I do if I would like to alter the type of column A, B and D from character to numeric, and C, E, F and I from double to character in one step (without using 2 rows of mutate_at)? (all licit operation provided) Many thanks!
Start here
WOW It's so great! Many thanks. By the way, with the vignette containing merely one across in each mutate function, I was not aware that it could be used multiple times in one mutate function until I tried and it worked. Many thanks again!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.