Plot Prediction
Plot Prediction output.
plotPred(map, lt = "", colorramp = NULL, hr = FALSE)
map |
raster object with the prediction. |
lt |
character. Legend title, default is an empty string. |
colorramp |
vector. A custom color ramp given as a vector of colors
(see example), default is |
hr |
logical, if |
A ggplot object.
Sergio Vignali
map <- raster::raster(matrix(runif(400, 0, 1), 20, 20))
plotPred(map, lt = "Habitat suitability \ncloglog")
# Custom colors
plotPred(map, lt = "Habitat suitability",
colorramp = c("#2c7bb6", "#ffffbf", "#d7191c"))Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.