plot.GA: Plotting function for GA object

Description Usage Arguments

View source: R/plot.GA.R

Description

Takes as input from select and creates a plot of fitness for all generations and lines plots of mean and max fitness across generations.

Usage

1
2
## S3 method for class 'GA'
plot(x, ..., col1 = "blue", col2 = "red")

Arguments

x

a GA object as generated by select. Must be of class GA.

...

a

col1

a character string for color of chromosomes scatter plotpoints. Default is blue.

col2

a character string for color of chromosomes mean and max lines. Default is red.


adams-cam/GA documentation built on May 11, 2018, 12:02 a.m.