Simple getter for the logged populations.

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.

Value

[list] List of populations.

Details

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

See also

Other logging: getStatistics, initLogger, updateLogger