dt_na2false: convert columns with NA to false

dt_na2falseR Documentation

convert columns with NA to false

Description

coerce NA in columns of class "logical" to FALSE

Usage

dt_na2false(dt, these_cols = NULL)

Arguments

dt

data.table

these_cols

NULL by default, will select columns of class logical, otherwise will be specified

Value

A data.table


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