Question: R supports Boolean operations & and && ( logical AND ) , and ( II ) ( logical OR ) , ( I ) NOT
R supports Boolean operations & and && logical AND and IIlogical ORI NOT logical negation and, function for XOR, exclusive OR The shorter forms & and perform comparisons element by element as the arithmetic operations do The longer forms && and evaluate left to right looking only at the first element of each vector; evaluation proceeds only until the result is determined.
If a and are two logical vectors the
length &
is equal to
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
