Description Usage Arguments Value See Also Examples
This is a translation of the SQL command NULL_IF
. It is useful
if you want to convert an annoying value to NA
.
1 | na_if(x, y)
|
x |
Vector to modify |
y |
If th |
A modified version of x
that replaces any values that
are equal to y
with NA.
coalesce()
to replace missing values with a specified
value.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.