The function expects a data.frame or a matrix. By default the first 2 or 3 columns/rows are assumed to contain the elements of the approximation sets. Depending on the number of numeric columns (in case of a data.frame) or the number of rows (in case of a matrix) the function internally calls plotScatter2d or plotScatter3d.
plotFront(x, obj.names =NULL, minimize =TRUE,...)
Arguments
x: [matrix | data.frame]
Object which contains the approximations sets.
obj.names: [character]
Optional objectives names. Default is c("f1", "f2").
minimize: [logical]
Logical vector with ith entry TRUE if the ith objective shall be minimized. If a single logical is passed, it is assumed to be valid for each objective. If the matrix is of type ecr_fitness_matrix (this is the case if it is produced by one of ecr2's utility functions, e.g. evaluateFitness), the appended minimize attribute is the default.