Description Usage Arguments Examples
View source: R/tab_zero_NA.src.R
replaces all NAs in a data.table with a set value
1 | tab_zero_NA(data, replacement = 0, return_data.table = TRUE)
|
data |
either data.table or data.frame object |
replacement |
value to replace NAs with |
return_data.table |
logical argument for table type (defaults to TRUE) |
1 | tab_zero_NA(table, replacement = "0", return_data.frame = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.