plot_pareto | R Documentation |
Plots graphs the population regarding each couple of objectives and emphasizes the Pareto front
plot_pareto(MatObj, nobj = NULL, objnames = NULL, maximized = NULL)
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 |
Celine Monteil
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.