Skip to contents

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

if (FALSE) { # \dontrun{
explore_result(resultrect, sp_polygon)
} # }