Learn R Programming

GA (version 3.2.4)

plot.gaisl-method: Plot of Islands Genetic Algorithm search path

Description

The plot method for gaisl-class objects gives a plot of best fitness values found in each island during the GA iterations.

Usage

# S4 method for gaisl
plot(x, y, ...)

Value

The method invisibly return a list with the following components:

iter

a vector of values specifying the iteration.

summary

a matrix of best fitness values for each island along the columns.

Arguments

x

An object of class "gaisl".

y

Not used.

...

Further arguments passed to plot.default, such as ylim, ylab, etc., or to matplot, such as col, lty, and lwd.

Author

Luca Scrucca

Details

Plot best fitness values found in each island during the GA iterations.

See Also

gaisl, gaisl-class.

Examples

Run this code
# See examples in help(gaisl)

Run the code above in your browser using DataLab