This function turns NA values to zero (or user specified value)
1 |
D |
A data.table or data.frame |
cols |
A vector of column names to rid of NAs, defaults to all columns |
value |
Defaults to 0, the value with which to replace NAs |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.