equal_including_na | R Documentation |
Compare vectors, treating NA like a value
equal_including_na(v1, v2)
v1, v2 |
Vectors of equal size |
Returns a logical vector of the same size as v1 and v2, TRUE wherever elements are the same. NA is treated like a value level, i.e., NA == NA is true, NA == 1 is false.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.