plot_heatmap: Plot a heatmap of selected grid cells

View source: R/plots.R

plot_heatmapR Documentation

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 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: plot_cloud(), plot_development(), plot_evolution(), plot_fitness_evolution(), plot_parkfitness(), plot_result(), plot_windfarmGA(), plot_windrose(), random_search_single()

Examples


## Plot the results of a hexagonal grid optimization
plot_heatmap(resulthex)

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


YsoSirius/windfarmGA documentation built on March 13, 2024, 8:37 a.m.