Description Usage Arguments Value Examples
View source: R/col_str_reshape.R
Fill missing values
1 | fill_NA_with(dt, fill_cols, fill_value)
|
dt |
input data table |
fill_cols |
filter by this columns |
fill_value |
fill NA with this value |
data table which NAs are filled
1 2 | data("dt_missing")
fill_NA_with(dt_missing, fill_cols = c("Full_name"), fill_value = "pending")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.