missing_to_na | R Documentation |
NA
.Traverse a recursive list and map missing values to NA
.
Missing values are:
NULL
"NR"
missing_to_na(lst, na = NA_character_)
lst |
A list. |
Note: This function is case sensitive on "NR"
, i.e., it will leave
"nr"
untouched.
A list whose missing values have been replaced by NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.