powered by
Operators for subsetting values using the standard comparison operators.
x %[>=% yx %[>% yx %[<=% y<="" p="">x %[<% y<="" p="">x %[==% yx %[!=% y%>=%>
x %[>% y
x %[<=% y<="" p="">
x %[<% y<="" p="">
x %[==% y
x %[!=% y
first element of the operation.
second element of the operation.
elements of x matched by the used comparison.
x
`==`
# NOT RUN { ages <- c(130, 10, 21, 39, 74, -2, 0) ages %[<% 5 letters %[==% "a" letters %[!=% "a" # }
Run the code above in your browser using DataLab