sortByObjective(x, obj =1L,...)## S3 method for class 'data.frame'sortByObjective(x, obj =1L,...)## S3 method for class 'matrix'sortByObjective(x, obj =1L,...)## S3 method for class 'ecr_multi_objective_result'sortByObjective(x, obj =1L,...)## S3 method for class 'list'sortByObjective(x, obj =1L,...)
Arguments
x: [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 .
obj: [integer(1) | character(1)]
Either the row/column number to sort by or the column name, e.g., for data frames.