move_columns: Sort specified columns to front of a data.frame

Description Usage Arguments Value

Description

Sort specified columns to front of a data.frame

Usage

1
move_columns(names, df, reverse = F)

Arguments

names

a char vector of current columns you want to move to the front of the df

df

which data frame to replace it in

reverse

[not yet implemented] move named columns to end of df.

Value

A df with rearranged columns


dkrozelle/toolboxR documentation built on May 15, 2019, 9:13 a.m.