Plot species and level of invasion predictions as JPEG files using ggplot2
Source: R/mod_plot_prediction.R
plot_prediction.Rd
Generate predictions for species and habitat models and saves the output as JPEG files.
Arguments
- model_dir
Character. Path to the model directory containing predictions.
- env_file
Character. Path to the environment file containing paths to data sources. Defaults to
.env
.- n_cores
Integer. Number of CPU cores to use for parallel processing. Default: 8.
- is_cv_model
Logical. Whether the model is a cross-validated model (
TRUE
) or fitted with the full dataset (FALSE
; default).