View source: R/expression_funks.R
naAsZero | R Documentation |
x
to the number zero if and
only if is.na(x)
.Helper function that converts argument x
to the number zero if and
only if is.na(x)
.
naAsZero(x)
x |
any scalar |
0.0
if is.na(x)
or x
otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.