R/utils_df.R
df_movecolumn.Rd
Move data frame column
df_movecolumn(x, colname, to = ncol(x))
data.frame.
Character: Name of column you want to move.
Integer: Which column position to move the vector to.
data.frame
EDG
ir <- df_movecolumn(iris, colname = "Species", to = 1L)