Learn R Programming

cmaesr (version 1.0.3)

makeVisualizingMonitor: Generator for visualizing monitor.

Description

This generator visualizes the optimization process for two-dimensional functions by means of ggplot2.

Usage

makeVisualizingMonitor(show.last = FALSE, show.distribution = TRUE, xlim = NULL, ylim = NULL)

Arguments

show.last
[logical(1)] Should the last population be visualized as well? Default is FALSE.
show.distribution
[logical(1)] Should an ellipsis of the normal distribution be plotted? Default is TRUE.
xlim
[numeric(2) || NULL] Limits for the first axis. Default is NULL, i.e., the bounds are determined automatically.
ylim
[numeric(2) || NULL] Limits for the second axis. Default is NULL, i.e., the bounds are determined automatically.

Value

[cma_monitor]

Details

The plot contains points representing the current population, the center of mass or mean value of the population respectively. Optionally an ellipsis represneting the normal distribution of the points can be depicted.