comparison_subset: Subsetting Values by Comparison

Description Usage Arguments Value See Also Examples

Description

Operators for subsetting values using the standard comparison operators.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
x %[>=% y

x %[>% y

x %[<=% y

x %[<% y

x %[==% y

x %[!=% y

Arguments

x

first element of the operation.

y

second element of the operation.

Value

elements of x matched by the used comparison.

See Also

`==`

Examples

1
2
3
4
5
6
ages <- c(130, 10, 21, 39, 74, -2, 0)
ages %[<% 5

letters %[==% "a"

letters %[!=% "a"

inops documentation built on Nov. 19, 2019, 5:08 p.m.