powered by
move vars to front
repos_front(data, ...)
data frame
columns to move to front
Reordered data frame.
# NOT RUN { ## data with row names d <- data.frame(x = rnorm(5), y = rnorm(5), row.names = letters[1:5]) ## move y to front repos_front(d, y) # }
Run the code above in your browser using DataLab