Learn R Programming

windfarmGA (version 5.0.0)

explore_result: Shiny explorer for a GA result

Description

One-page viewer for a genetic_algorithm() result: Leaflet map of that generation's best layout (downwind wake cones, optional terrain layers), a wind rose, and one plotly figure with fitness, operator rates and population. New fitness maxima are marked; click a marker to jump to that generation. The cell heatmap is not included: use plot_cell_heatmap() or plot_generation() offline. Requires Suggests shiny. Plotly is used when installed.

Usage

explore_result(result, area)

Value

The Shiny app object, invisibly. Called for its side effect.

Arguments

result

The output of genetic_algorithm

area

Site polygon (sf, SpatialPolygons, or coordinate matrix). Must be projected in metres.

Examples

Run this code
if (FALSE) {
explore_result(resultrect, sp_polygon)
}

Run the code above in your browser using DataLab