Description Usage Arguments Details
Replaces NA for other values in data.frame variables. Changes are made given column names or regular expressions along with its replacements in a single call.
| 1 | 
| x | A data.frame | 
| byref | 
 | 
|  | Syntax for replacements. See details. | 
The syntax for replacements is either
subs_na(x, byref, var_1 = "?", var_2 = 9999, "[0-9]{2}$" = 0) or
subs_na(x, byref, list(var_1 = "?", var_2 = 9999, "[0-9]{2}$" = 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.