ds_IntToFactor: Transform int columns to factor.

Description Usage Arguments

Description

Function tranform integer columns in factor by threshold.

Usage

1
ds_IntToFactor(dt, threshold = 10, inline = T, exclude = c())

Arguments

dt

A data.table for modify.

threshold

A integer, default 10. Number unique value in column for transform.

inline

A boolean, default TRUE. Modify current data.table or return new data.table.

exclude

A character vector for exclude columns.


ivaninkv/dstools documentation built on May 31, 2019, 1:16 p.m.