.if_na | R Documentation |
Format a value replacing NA values
.if_na(x, na.replace = "―", ...)
x |
a vector of values |
na.replace |
a value to replace NA values with |
... |
Arguments passed on to |
a vector of character values
try({
.if_na( c(1,2,NA,4,5)/3, digits=2 )
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.