getPopulations {ecr}R 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: getStatistics, initLogger, updateLogger


[Package ecr version 2.1.0 Index]