toParetoDf: Convert matrix to Pareto front data frame.

View source: R/pareto.utils.R

toParetoDfR 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]


ecr documentation built on March 31, 2023, 10:07 p.m.