Sort Pareto-front approximation by objective.
sortByObjective(x, obj = 1L, ...)# S3 method for data.frame
sortByObjective(x, obj = 1L, ...)
# S3 method for matrix
sortByObjective(x, obj = 1L, ...)
# S3 method for ecr_multi_objective_result
sortByObjective(x, obj = 1L, ...)
# S3 method for list
sortByObjective(x, obj = 1L, ...)
Modified object.
[object
]
Object of type data frame (objectives column-wise), matrix (objectives row-wise),
ecr_multi_objective_result
or list
(with components “pareto.front”)
and “pareto.set”.
[integer(1) | character(1)
]
Either the row/column number to sort by or the column name, e.g., for data frames.
[any]
Further arguments passed down to order
.