move_data_columns_right: rearrange the data.table columns in place so index columns...

View source: R/lib_table.R

move_data_columns_rightR Documentation

rearrange the data.table columns in place so index columns are put to the left, and data columns are put to the right

Description

rearrange the data.table columns in place so index columns are put to the left, and data columns are put to the right

Usage

move_data_columns_right(dt, data_col_pattern)

Arguments

dt

data.table

data_col_pattern

regex to match data col names

Value

dt modified in place by setcolorder


jorritvm/jrutils documentation built on Feb. 14, 2023, 11:33 p.m.