check_columns_order: Record/apply a data frame's columns order.

Description Usage Arguments Value

View source: R/check_columns_order.R

Description

Record or apply an operator to enforce specific column names and order, according to a 'train' reference.

Usage

1
check_columns_order(df, filename_operator, run_type)

Arguments

df

A data frame.

filename_operator

Character filename for operator save.

run_type

"train" or "test", dictating whether reference data saves to disk.

Value

A data frame, with ordered columns.


abrahamalex13/doPrepExplore documentation built on Jan. 27, 2021, 4:30 a.m.