Function to replace NA values in numeric columns of a data.table
1 | replace_NA(DT, replace_with = 0)
|
DT |
A data.table. |
replace_with |
value to replace NA with. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.