These binary operators return a vector of length 2, describing the desired probability region.
Usage
a %>x>% b
a %>X>% b
a %<X<% b
a %<x<% b
a %>=X>=% b
a %>=x>=% b
a %<=X<=% b
a %<=x<=% b
a %>=X>% b
a %>=x>% b
a %>X>=% b
a %>x>=% b
a %<=X<% b
a %<=x<% b
a %<X<=% b
a %<x<=% b
Examples
# Example 1 - Discrete
2L %>x>% 5L
#> [1] 1 6
2L %>X>% 5L
#> [1] 1 6
2L %<X<% 5L
#> [1] 3 4
2L %<x<% 5L
#> [1] 3 4
2L %>=X>=% 5L
#> [1] 2 5
2L %>=x>=% 5L
#> [1] 2 5
2L %<=X<=% 5L
#> [1] 2 5
2L %<=x<=% 5L
#> [1] 2 5
2L %>=X>% 5L
#> [1] 2 6
2L %>=x>% 5L
#> [1] 2 6
2L %>x>=% 5L
#> [1] 1 5
2L %>X>=% 5L
#> [1] 1 5
2L %<=X<% 5L
#> [1] 2 4
2L %<=x<% 5L
#> [1] 2 4
2L %<X<=% 5L
#> [1] 3 5
2L %<x<=% 5L
#> [1] 3 5
# Example 2 - Continuous
2 %>x>% 5
#> [1] 2 5
2 %>X>% 5
#> [1] 2 5
2 %<X<% 5
#> [1] 2 5
2 %<x<% 5
#> [1] 2 5
2 %>=X>=% 5
#> [1] 2 5
2 %>=x>=% 5
#> [1] 2 5
2 %<=X<=% 5
#> [1] 2 5
2 %<=x<=% 5
#> [1] 2 5
2 %>=X>% 5
#> [1] 2 5
2 %>=x>% 5
#> [1] 2 5
2 %>x>=% 5
#> [1] 2 5
2 %>X>=% 5
#> [1] 2 5
2 %<=X<% 5
#> [1] 2 5
2 %<=x<% 5
#> [1] 2 5
2 %<X<=% 5
#> [1] 2 5
2 %<x<=% 5
#> [1] 2 5