plotResult: Deprecated use 'plot_result' instead.

Description Usage Arguments

View source: R/deprecated.R

Description

plotResult is replaced by plot_result.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
plotResult(
  result,
  Polygon1,
  best = 3,
  plotEn = 1,
  topographie = FALSE,
  Grid,
  Projection,
  sourceCCLRoughness,
  sourceCCL,
  weibullsrc
)

Arguments

result

The output of windfarmGA or genetic_algorithm

Polygon1

The considered area as shapefile

best

A numeric value indicating how many of the best individuals should be plotted

plotEn

A numeric value that indicates if the best energy or efficiency output should be plotted. If (plotEn==1) plots the best energy solutions and (plotEn==2) plots the best efficiency solutions

topographie

A logical value, indicating whether terrain effects should be considered and plotted or not

Grid

The grid as SpatialPolygons, which is obtained from grid_area and used for plotting

Projection

A desired Projection can be used instead of the default Lambert Azimuthal Equal Area Projection

sourceCCLRoughness

The source to the adapted Corine Land Cover legend as .csv file. Only required when terrain effect model is activated. As default a .csv file within this package (‘~/extdata/clc_legend.csv’) is taken that was already adapted manually

sourceCCL

The source to the Corine Land Cover raster (.tif). Only required, when the terrain effect model is activated

weibullsrc

A list of Weibull parameter rasters, where the first list item must be the shape parameter raster k and the second item must be the scale parameter raster a of the Weibull distribution. If no list is given, then rasters included in the package are used instead, which currently only cover Austria.


windfarmGA documentation built on Jan. 13, 2021, 5:21 p.m.