animate_population: Animation of population motion

View source: R/METHOD__Plot_history.R

animate_populationR Documentation

Animation of population motion

Description

Create an animation of the population motion for the minimization of 1D and 2D functions. The animation can be produced only if save_pop_history is TRUE in the options of the minimizer (see MinimizerOpts).

Usage

animate_population(minimizer_result, n_points = 100)

Arguments

minimizer_result

an object of class OptimizationResults (see OptimizationResults).

n_points

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


EmiR documentation built on Dec. 10, 2022, 1:12 a.m.