dt_na2true: convert columns with NA to true

dt_na2trueR Documentation

convert columns with NA to true

Description

coerce NA in columns of class "logical" to TRUE

Usage

dt_na2true(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.