| plot_random_search | R Documentation | 
Plotting method for the results of
random_search_single and random_search.
plot_random_search(resultRS, result, Polygon1, best)
resultRS | 
 The result of the random functions
  | 
result | 
 The output of   | 
Polygon1 | 
 The considered area as SpatialPolygon, SimpleFeature Polygon or coordinates as matrix/data.frame  | 
best | 
 How many best candidates to plot. Default is 1.  | 
Returns NULL. Used for plotting
Other Randomization: 
random_search(),
random_search_single()
library(sf)
Polygon1 <- sf::st_as_sf(sf::st_sfc(
  sf::st_polygon(list(cbind(
    c(4498482, 4498482, 4499991, 4499991, 4498482),
    c(2668272, 2669343, 2669343, 2668272, 2668272)
  ))),
  crs = 3035
))
Res <- random_search(result = resultrect, Polygon1 = Polygon1)
plot_random_search(resultRS = Res, result = resultrect, Polygon1 = Polygon1, best = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.