dt_na2empty: convert columns with NA to empty character

dt_na2emptyR Documentation

convert columns with NA to empty character

Description

coerce NA in columns of class "character" to ""

Usage

dt_na2empty(dt)

Arguments

dt

data.table

these_cols

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

Value

A data.table


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