move: Move columns before or after another column

View source: R/primitives.R

moveR Documentation

Move columns before or after another column

Description

Move columns before or after another column

Usage

move(data, cols, before = NULL, after = NULL)

Arguments

data

A data.frame.

cols

Character vector of column names.

before

Column identifying where to insert cols before.

after

Column identifying where to insert cols after.

Value

data with columns reordered.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.