arrange.vars.Rd
Arranges data frame variables by position
arrange.vars(data, vars)
data | must be a data frame |
---|---|
vars | must be a named vector, e.g. c("var.name"=1) |
https://stackoverflow.com/questions/5620885/how-does-one-reorder-columns-in-a-data-frame
OUTPUT_DESCRIPTION
Credit goes to the user landroni on StackOverflow for this very useful function
#> Error in arrange.vars(data, c(Out = 2, Files = 1, Time = 4)): is.data.frame(data) is not TRUE