library("prolfquabenchmark")
pareto_optimal(c(1, 2, 3), c(3, 2, 1))[1] TRUE TRUE TRUE
pareto_optimal(c(1, 2), c(1, 2))[1] FALSE TRUE
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.
pareto_optimal(x, y)
x
|
numeric, higher is better |
y
|
numeric, the same length as ‘x’, higher is better |
logical, one per point
library("prolfquabenchmark")
pareto_optimal(c(1, 2, 3), c(3, 2, 1))[1] TRUE TRUE TRUE
pareto_optimal(c(1, 2), c(1, 2))[1] FALSE TRUE