get_join_value {PvSTATEM} | R Documentation |
Determine the Join Value
Description
Returns a non-NA
/non-NULL
value based on the inputs. If either value is NA
or NULL
, it returns the non-NA
/non-NULL
value. If both values are equal, it returns that value.
Usage
get_join_value(x, y)
Arguments
x |
A value to be compared. |
y |
A value to be compared. |
Value
A non-NA
/non-NULL
value or the common value if x
equals y
. Returns NULL
if the values differ and neither is NA
or NULL
.
[Package PvSTATEM version 0.1.2 Index]