getPopulations: Access to logged populations.

View source: R/logger.default.R

getPopulationsR Documentation

Access to logged populations.

Description

Simple getter for the logged populations.

Usage

getPopulations(log, trim = TRUE)

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).

Value

[list] List of populations.

See Also

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


ecr documentation built on March 31, 2023, 10:07 p.m.