plotGA: Plotting the Progress of the Genetic Algorithm

Description Usage Details Examples

Description

Make a chromosome with fixed probability 0.01 to mutate.

Usage

1
plotGA(results)

Details

This function plots the output list from GA::select(). The plot shows fitness scores of each model in each generation as well as the best fitting model (in green).

Examples

1
2
results <- select(mtcars)
plotGA(results)

mindyyang/GA-R-package- documentation built on May 12, 2019, 12:31 a.m.