plot_population {caRamel}R Documentation

Plotting of a population of objectives

Description

Plot graphs the population regarding each couple of objectives

Usage

plot_population(
  MatObj,
  nobj,
  ngen = NULL,
  nrun = NULL,
  objnames = NULL,
  MatEvol = NULL,
  popsize = 0
)

Arguments

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)

Author(s)

Celine Monteil

Examples

# Definition of the population
Pop <- matrix(runif(300), 100, 3)
# Call the function
plot_population(MatObj = Pop, nobj = 3, objnames = c("Obj1", "Obj2", "Obj3"))


[Package caRamel version 1.4 Index]