Generating a logical vector (7)
either by doing (vectorized) comparisons (see before)
or by combining logical vectors or comparisons = boolean algebra
- operators:
&,|,!,xor() {magrittr}(through{dplyr}) provides the aliasesand(),or(),not()
In numerical operations,FALSEis 0 andTRUEis 1. Therefore:&can be mimicked bypmin()|can be mimicked bypmax()
- operators: