powered by
Plot graphs the population regarding each couple of objectives
plot_population( MatObj, nobj, ngen = NULL, nrun = NULL, objnames = NULL, MatEvol = NULL, popsize = 0 )
: matrix of the objectives [NInd, nobj]
: number of objectives
: number of generations (optional)
: number of model evaluations (optional)
: vector of objectives names (optional)
: matrix of the evolution of the optimal objectives (optional)
: integer, size of the initial population (optional)
Celine Monteil
# Definition of the population Pop <- matrix(runif(300), 100, 3) # Call the function plot_population(MatObj = Pop, nobj = 3, objnames = c("Obj1", "Obj2", "Obj3"))
Run the code above in your browser using DataLab