temporal_projection: Temporal projection of the best model. The function projects...

Description Usage Arguments Value

View source: R/temporal_projection.R

Description

Temporal projection of the best model. The function projects the niche model for the d

Usage

1
2
3
4
5
6
7
8
9
temporal_projection(
  this_species,
  projection_years,
  save_dir,
  sp_mask,
  sp_name = "",
  crs_model = NULL,
  plot3d = FALSE
)

Arguments

this_species

a "sp.temp.best.model" object see find_best_model.

save_dir

Folder where the projected model results will be saved.

sp_mask

A mask to crop the projected area of distribution.

sp_name

The name of the modeled species.

crs_model

The crs of the projection layers.

plot3d

Logical. If the models have 3 varibles an rgl plot will be shown

Value

The output is contained in main directory called "temporal_modeling", it is arranged in subdirectories corresponding to each of the projected years. Each subdirectory has: - Ellipsoid model plot. Only If the number of dimensions to model the niche where 2 or 3. - Binary model of distribution. - A continuos suitability raster. Finally a directory called niche_comparations_results, which has barplots of the percent of area/suitabilty gained (or lost) in each year compared to t_0.


luismurao/hsi documentation built on Dec. 26, 2021, 9:53 a.m.