Skip to main content

builtin_xor

Function builtin_xor 

Source
fn builtin_xor(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Vectorized exclusive OR.

Computes element-wise XOR of two logical vectors, recycling the shorter. Returns NA where either input is NA.

@param x first logical vector @param y second logical vector @return logical vector