Learn R Programming

caRamel (version 1.4)

pareto: Indicates which rows are Pareto

Description

indicates which rows of the X criterion matrix are Pareto, when objectives need to be maximized

Usage

pareto(X)

Value

Ft : vector [NInd], TRUE when the set is on the Pareto front.

Arguments

X

: matrix of objectives [NInd * NObj]

Author

Alban de Lavenne, Fabrice Zaoui

Examples

Run this code
# Definition of the parameters
X <- matrix(runif(200), 100, 2)
# Call the function
is_pareto <- pareto(X)

Run the code above in your browser using DataLab