Learn R Programming

windfarmGA (version 2.2.3)

plot_fitness_evolution: Plot the changes of min/mean/max fitness values

Description

Plot the evolution of fitness values and the change in the min, mean and max fitness values to the former generations.

Usage

plot_fitness_evolution(result, spar = 0.1)

Arguments

result

The output of function windfarmGA or genetic_algorithm

spar

A numeric value determining how exact a spline should be drawn. Default is 0.1

See Also

Other Plotting Functions: interpol_view, plot_cloud, plot_development, plot_evolution, plot_heatmap, plot_parkfitness, plot_result, plot_viewshed, plot_windfarmGA, plot_windrose, random_search_single

Examples

Run this code
# NOT RUN {
## Add some data examples from the package
load(file = system.file("extdata/resulthex.rda", package = "windfarmGA"))

## Plot the results of a hexagonal grid optimization
plot_fitness_evolution(resulthex, 0.1)
# }

Run the code above in your browser using DataLab