View source: R/plot_population.R
plot_population | R Documentation |
Plot graphs the population regarding each couple of objectives
plot_population(
MatObj,
nobj,
ngen = NULL,
nrun = NULL,
objnames = NULL,
MatEvol = NULL,
popsize = 0
)
MatObj |
: matrix of the objectives [NInd, nobj] |
nobj |
: number of objectives |
ngen |
: number of generations (optional) |
nrun |
: number of model evaluations (optional) |
objnames |
: vector of objectives names (optional) |
MatEvol |
: matrix of the evolution of the optimal objectives (optional) |
popsize |
: 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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.