Skip to content
Prev 197792 / 398500 Next

Change positions of columns in data frame

You can change the order of nearly everything just by applying an appropriate index and assigning to
the original object. Something like

data <- data[,order_of_columns]

Tom

Joel F?rstenberg-H?gg schrieb: