equal_including_na: Compare vectors, treating NA like a value

Description Usage Arguments Value

View source: R/na.R

Description

Compare vectors, treating NA like a value

Usage

1

Arguments

v1, v2

Vectors of equal size

Value

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.


tidytidbits documentation built on March 8, 2021, 5:07 p.m.