Description Usage Arguments Value Examples
This function replaces NA, Inf, -Inf, and NaN values of a matrix, array or vector with zero.
1 | zeroNa(input)
|
input |
A numeric vector, matrix, or array. If an array it must have less than 5 dimensions. |
Returns the same input but with zeros in place of the non-finite values.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.