Learn R Programming

EmiR (version 1.0.4)

animate_population: 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.