Skip to main content

Points no other point beats in both coordinates

Description

A point is Pareto optimal when no other point is at least as high in both ‘x’ and ‘y’ and higher in one of them. The benchmark uses it for the methods with the best trade-off between ranking accuracy (pAUC) and the number of contrasts computed.

Usage

pareto_optimal(x, y)

Arguments

x numeric, higher is better
y numeric, the same length as ‘x’, higher is better

Value

logical, one per point

Examples

[1] TRUE TRUE TRUE
pareto_optimal(c(1, 2), c(1, 2))
[1] FALSE  TRUE