Create plot with probabilities of presence interpolated for a choosen species. Plot can be hide and/or save in plot folder

plot_prob_pres_interp(
  theta_stars,
  species_to_plot = names(theta_stars)[1],
  country_name = NULL,
  country_sf = NULL,
  display_plot = TRUE,
  save_plot = FALSE
)

Arguments

theta_stars

multilayer stars_object. from files save in prob_est_species_forest function.

species_to_plot

character. name of one layer of `theta_stars`, default is first one.

country_name

character. optional, for display border of country on map, default is NULL.

country_sf

sf object. optional, inconsistent with `country_name`. Display borders on map, default is NULL.

display_plot

boolean. Display plot, default is TRUE.

save_plot

boolean. Save plot in .png format in folder plot, default is FALSE.