Learn R Programming

windfarmGA (version 4.0.0)

plot_evolution: Plot the evolution of fitness values

Description

Plot the evolution of energy outputs and efficiency rates over the whole generations. Plots min, mean and max values.

Usage

plot_evolution(result, ask = TRUE, spar = 0.1)

Value

Returns NULL. Used for plotting

Arguments

result

The output of genetic_algorithm

ask

Should R wait for interaction for subsequent plotting. Default is TRUE

spar

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

See Also

Other Plotting Functions: plot_cloud(), plot_development(), plot_fitness_evolution(), plot_parkfitness(), plot_result(), plot_windfarmGA(), plot_windrose(), random_search_single()

Examples

Run this code
# \donttest{
## Plot the results of a rectangular grid optimization
plot_evolution(resultrect, ask = TRUE, spar = 0.1)
# }

Run the code above in your browser using DataLab