explore_result: Shiny explorer for a GA result

View source: R/explore_result.R

explore_resultR Documentation

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)

Arguments

result

The output of genetic_algorithm

area

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

Value

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

Examples

## Not run: 
explore_result(resultrect, sp_polygon)

## End(Not run)

windfarmGA documentation built on Sept. 14, 2026, 9:08 a.m.