dt_setint: convert column to integer

dt_setintR Documentation

convert column to integer

Description

coerce column of type "numeric" by default to "integer"

Usage

dt_setint(dt, cols = NULL)

Arguments

dt

data.table

cols

character vector of column names

Value

A data.table


kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.