The plot
method for de-class
objects gives a plot
of best and average fitness values found during the iterations of the
DE search.
# S4 method for de
plot(x, y, ylim, cex.points = 0.7,
col = c("green3", "dodgerblue3", adjustcolor("green3", alpha.f = 0.1)),
pch = c(16, 1), lty = c(1,2), legend = TRUE, grid = graphics::grid, ...)
The method invisibly return a data.frame
with the iterations and summary statistics for the fitness function evaluated at each iteration.
An object of class "ga"
.
Not used.
A vector of two values specifying the limits on the y-axis.
The magnification to be used for points.
The colours to be used for best and average fitness values.
The type of points to be used for best and average fitness values.
The type of lines to be used for best and average fitness values.
A logical specifying if a legend should be included.
A function for grid drawing of NULL to avoid drawing one.
Further arguments, currently not used.
Luca Scrucca
Plot best and average fitness values at each iteration of DE search.
de
, de-class
, plot,de-method
.