This function generates a plot based on prediction raster layers and presence/absence points.
generate_prediction_plot(
prediction_layer,
pa_points,
legend_label,
non_study_area_mask,
coords
)
Returns a ggplot object representing the world prediction plot.
Raster prediction layer.
Presence/absence points.
Label for the legend.
Spatial polygon representing the non study areas.