Skip to contents

A helper function to add in preferences in a user-friendly way.

Usage

a %<% b

Arguments

a

The non-preferred row

b

The preferred row

See also

Other preferences: %=%(), %>%()

Examples

1 %<% 2 # prefer row 2 to row 1
#> [[1]]
#> [1] 2
#> 
#> [[2]]
#> [1] 1
#> 
#> attr(,"class")
#> [1] "list"   "strict"