convert columns with NA to false

coerce NA in columns of class "logical" to FALSE

convert columns with NA to false

coerce NA in columns of class "logical" to FALSE

dt_na2false(dt, these_cols = NULL)

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

A data.table

Author

Kevin Hadi