autoplot.ecr_single_objective_result: Plot optimization trace.

Description Usage Arguments Value

Description

Call this function on the result object of an doTheEvolution function call to visualize the optimization trace.

Usage

1
2
3
## S3 method for class 'ecr_single_objective_result'
autoplot(object, show.process = FALSE,
  log.fitness = FALSE, complete.trace = TRUE, ...)

Arguments

object

[ecr_result]
ecr result object.

show.process

[logical(1)]
Should the function itself with the population be plotted as well? Thinks makes in particular sense with complete.trace = FALSE to see the progress. Keep in mind, that this is possible only if the representation is “float” and the objective function has at most two decision variables. Default is FALSE.

log.fitness

[logical(1)]
Log-transform fitness values? Default is FALSE.

complete.trace

[logical(1)]
Direct show the plot with the fitness for all generations. Default is TRUE.

...

[any]
Not used.

Value

[invisible(TRUE)]


jakobbossek/ecr documentation built on May 18, 2019, 9:09 a.m.