plot_pareto {caRamel}R Documentation

Plotting of a population of objectives and Pareto front

Description

Plots graphs the population regarding each couple of objectives and emphasizes the Pareto front

Usage

plot_pareto(MatObj, nobj = NULL, objnames = NULL, maximized = NULL)

Arguments

MatObj

: matrix of the objectives [NInd, nobj]

nobj

: number of objectives (optional)

objnames

: vector, length nobj, of names of the objectives (optional)

maximized

: vector of logical, length nobj, TRUE if objective need to be maximized, FALSE if minimized

Author(s)

Celine Monteil

Examples

# Definition of the population
Pop <- matrix(runif(300), 100, 3)

# Definition of objectives to maximize (Obj1, Obj2) and to minimize (Obj3)
maximized <- c(TRUE, TRUE, FALSE)

# Call the function
plot_pareto(MatObj = Pop, maximized = maximized)


[Package caRamel version 1.3 Index]