R/plot_prob_pres_species.R
plot_prob_pres_interp.RdCreate 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
)multilayer stars_object. from files save in prob_est_species_forest function.
character. name of one layer of `theta_stars`, default is first one.
character. optional, for display border of country on map, default is NULL.
sf object. optional, inconsistent with `country_name`. Display borders on map, default is NULL.
boolean. Display plot, default is TRUE.
boolean. Save plot in .png format in folder plot, default is FALSE.