Skip to contents

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

Examples

# \donttest{
## Plot the results of a hexagonal grid optimization
plot_heatmap(resulthex)
#> [inverse distance weighted interpolation]


## Plot the heatmap with different settings
plot_heatmap(resulthex, si = 4, idistw = 2)
#> [inverse distance weighted interpolation]

# }