Learn R Programming

windfarmGA (version 3.0.0)

plot_heatmap: Plot a heatmap of selected grid cells

Description

Plot a heatmap of selected grid cells. Green grid cells have been selected more often than red grid cells.

Usage

plot_heatmap(result, si = 2, idistw)

Arguments

result

The output of windfarmGA or genetic_algorithm

si

A numeric value that is used for the sizing of the resolution of the heatmap. Default is 2

idistw

The inverse distance weighting power. Default is the rotor radius from the 'result' values

Value

Invisibly returns a list with the result of the inverse distance weighting and an aggregated dataframe of all grid cells

See Also

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

Examples

Run this code
# NOT RUN {
## Plot the results of a hexagonal grid optimization
plot_heatmap(resulthex)

## Plot the heatmap with different settings
plot_heatmap(resulthex, si = 4, idistw = 2)
# }

Run the code above in your browser using DataLab