powered by
greaterThan(x, y)
-1
x
y
1
0
==
`<`< code=""> for traditional Boolean operator.`<>
greaterThan(4,6) # Use in sorting algorithm. quickSort(c(5,2,9,7,6), f=greaterThan) order(c(5,2,9,7,6))
Run the code above in your browser using DataLab