toParetoDf {ecr}R Documentation

Convert matrix to Pareto front data frame.

Description

Inside ecr EMOA algorithms the fitness is maintained in an (o, n) matrix where o is the number of objectives and n is the number of individuals. This function basically transposes such a matrix and converts it into a data frame.

Usage

toParetoDf(x, filter.dups = FALSE)

Arguments

x

[matrix]
Matrix.

filter.dups

[logical(1)]
Shall duplicates be removed? Default is FALSE.

Value

[data.frame]


[Package ecr version 2.1.1 Index]