plot_population {EmiR}R Documentation

Plot the population position

Description

Plot the position of all individuals in the population, at a given iteration, for 1D and 2D functions. The plot can be produced only if save_pop_history is TRUE in the options of the minimizer (see MinimizerOpts).

Usage

plot_population(minimizer_result, iteration, n_points = 100)

Arguments

minimizer_result

an object of class OptimizationResults (see OptimizationResults).

iteration

iteration at which the population is plotted.

n_points

number of points per dimention used to draw the objective function. Default is 100.


[Package EmiR version 1.0.4 Index]