.if_present | R Documentation |
Format a value omitting NA values
.if_present(x, ...)
x |
a vector of values |
... |
Arguments passed on to |
a vector of character values
try({
.if_present( 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.