Learn R Programming

ecr (version 2.1.1)

getPopulations: Access to logged populations.

Description

Simple getter for the logged populations.

Usage

getPopulations(log, trim = TRUE)

Value

[list] List of populations.

Arguments

log

[ecr_logger]
The log generated by initLogger.

trim

[logical(1)]
Should unused lines in the logged be cut off? Usually one wants this behaviour. Thus the default is TRUE.

Details

This functions throws an error if the logger was initialized with log.pop = FALSE (see initLogger).

See Also

Other logging: getPopulationFitness(), getStatistics(), initLogger(), updateLogger()