Cambiar la posición de la variable en r dplyr
dplyr::relocate(df, x, .before = y, .after = z)
#Specifying either .before and .after would work too
Successful Salmon
dplyr::relocate(df, x, .before = y, .after = z)
#Specifying either .before and .after would work too