putItemFirst: Put a factor first

Description Usage Arguments Value

View source: R/putItemFirst.R

Description

Take a column with levels and put a specified factor first

Usage

1
putItemFirst(in.dt, in.col, in.item)

Arguments

in.dt

Input data table

in.col

Name of the column to work on

in.item

String with a factor to put as first

Value

Function changes state of the column provided by in.dt


dmattek/tca-package documentation built on Dec. 10, 2019, 4:10 p.m.