📜  R 差异 |和 || - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:59.514000             🧑  作者: Mango

代码示例1
# Operators & and | perform element-wise operation producing 
# result having length of the longer operand.
# But && and || examines only the first element of the operands 
resulting into a single length logical vector.