Learn R Programming

ecr (version 2.1.1)

toParetoDf: 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)

Value

[data.frame]

Arguments

x

[matrix]
Matrix.

filter.dups

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