plotFront function

Draw scatterplot of Pareto-front approximation

Draw scatterplot of Pareto-front approximation

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.

  • ...: [any]

    Not used at the moment.

Returns

[ggplot] ggplot object.

See Also

Other EMOA performance assessment tools: approximateNadirPoint(), approximateRefPoints(), approximateRefSets(), computeDominanceRanking(), emoaIndEps(), makeEMOAIndicator(), niceCellFormater(), normalize(), plotDistribution(), plotScatter2d(), plotScatter3d(), toLatex()

  • Maintainer: Jakob Bossek
  • License: GPL-3
  • Last published: 2023-03-08