null_if_na | R Documentation |
Returns NULL if provided value is NA
null_if_na(value)
value |
str |
NULL or str
vector <- c(1, 2, 3)
null_if_na(vector[1])
null_if_na(vector[10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.