Learn R Programming

glossa (version 1.0.0)

generate_prediction_plot: Generate Prediction Plot

Description

This function generates a plot based on prediction raster layers and presence/absence points.

Usage

generate_prediction_plot(
  prediction_layer,
  pa_points,
  legend_label,
  non_study_area_mask,
  coords
)

Value

Returns a ggplot object representing the world prediction plot.

Arguments

prediction_layer

Raster prediction layer.

pa_points

Presence/absence points.

legend_label

Label for the legend.

non_study_area_mask

Spatial polygon representing the non study areas.