moveColumns: Rearrange columns in a df

Description Usage Arguments

View source: R/moveColumns.R

Description

For the reorganisation of dataframes, moving the position of columns or rows within a dataframe.

Usage

1
moveColumns(data, tomove, where = "last", ba = NULL)

Arguments

data

a dataframe

tomove

a list of column names to be moved

where

specify the location of the dataframe to be moved (either "first" or "last", "before" or "after")

ba

Specify the column name to move before or after


dr-harper/HarpR documentation built on Nov. 8, 2019, 8:56 p.m.