Inactive Tutor answered 11/22/19
Tutor
New to Wyzant
The "OR" operator in R is the bar symbol (|). So, your code should be something like the following:
```
my.data.frame <- data[(data$V1 > 2) | (data$V2 < 4), ]
# Alternative approach with subset()
my.data.frame <- subset(data, V1 > 2 | V2 < 4)
```
Hope this helps!