Learn R Programming

windfarmGA (version 2.3.0)

leafPlot: Deprecated use plot_leaflet instead.

Description

leafPlot is replaced by plot_leaflet.

Usage

leafPlot(result, Polygon1, which = 1, orderitems = TRUE, GridPol)

Arguments

result

The resulting matrix of the function genetic_algorithm or windfarmGA

Polygon1

The Polygon for the wind farm area.

which

A numeric value, indicating which best individual to plot. The default is 1 (the best resulting wind farm).

orderitems

A logical value indicating whether the results should be ordered by energy values (TRUE) or chronologically (FALSE).

GridPol

The output grid polygon of the grid_area or hexa_area functions.