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

Description Usage Arguments Value

View source: R/curate_df.R

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 Sept. 22, 2018, 11:45 p.m.