%or% | R Documentation |
Replicates '|' behavior, but returns F instead of NA when making comparisons of F or NA. NA & NA still returns missing when comparing equal length vectors.
Left and Right sides must be same length, or one of them length 1.
Equal length vectors will return vector of point-wise comparisons between the two
If left or right is length 1, it compares it to the entire other vector, returning a vector of logicals comparing to each place.
left %or% right
left |
Left side of operator |
right |
right side of operator |
vector of logicals
coming soon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.