Mutate function
Title
Question
If we want to add variables in between two column, can we use mutate function for that ?
As mutate function add variables (column) always at last.
R More-Functions-in-dplyr-Package 08-09 min 40-50 sec
Answers:
For adding columns at the desired location in a data frame, you might want to utilize one of the options given on
https://stackoverflow.com/questions/13502601/add-insert-a-column-between-two-columns-in-a-data-frame
Login to add comment