plot_heatmap: Plot a heatmap of selected grid cells

Description Usage Arguments Value See Also Examples

View source: R/plots.R

Description

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

Usage

1
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

1
2
3
4
5
## Plot the results of a hexagonal grid optimization
plot_heatmap(resulthex)

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

windfarmGA documentation built on May 5, 2021, 5:08 p.m.