Learn R Programming

EmiR (version 1.0.4)

get_population: Get population positions

Description

Return a data.frame with the position of all individuals in the population at the specified iteration, from an object of class OptimizationResults produced with the option save_pop_history set to TRUE (see MinimizerOpts).

Usage

get_population(minimizer_result, iteration)

Value

An object of class data.frame.

Arguments

minimizer_result

an object of class OptimizationResults (see OptimizationResults).

iteration

iteration number.