fill_NA_with: Fill missing values

View source: R/col_str_reshape.R

fill_NA_withR Documentation

Fill missing values

Description

Fill missing values

Usage

fill_NA_with(dt, fill_cols, fill_value)

Arguments

dt

input data table

fill_cols

filter by this columns

fill_value

fill NA with this value

Value

data table which NAs are filled

Examples

data("dt_missing")
fill_NA_with(dt_missing, fill_cols = c("Full_name"), fill_value = "pending")

dataMojo documentation built on March 7, 2023, 8:10 p.m.