The function sums a vector with missing values, but when the whole vector is missing it returns NA rather than zero. This function is merely provided so that it does not return unexpected result for users.x
1 |
x |
The vector to be summed, see the base::sum function. |
na.rm |
Same as base::sum |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.