This function wraps all the analysis that the GLOSSA package performs. It processes presence-absence data, environmental covariates, and performs species distribution modeling and projections under past and future scenarios.
glossa_analysis(
pa_data = NULL,
fit_layers = NULL,
proj_files = NULL,
study_area_poly = NULL,
predictor_variables = NULL,
decimal_digits = NULL,
scale_layers = FALSE,
buffer = NULL,
native_range = NULL,
suitable_habitat = NULL,
other_analysis = NULL,
seed = NA,
waiter = NULL
)
A list containing structured outputs from each major section of the analysis, including model data, projections, variable importance scores, and habitat suitability assessments.
A list of data frames containing presence-absence data.
A SpatRaster stack containing model fitting environmental layers.
A list of file paths containing environmental layers for projection scenarios.
A spatial polygon defining the study area.
A list of predictor variables to be used in the analysis.
An integer specifying the number of decimal places to which coordinates should be rounded.
Logical; if TRUE, covariate layers will be scaled based on fit layers.
Buffer value or distance in decimal degrees (arc_degrees).
A vector of scenarios ('fit_layers', 'projections') where native range modeling should be performed.
A vector of scenarios ('fit_layers', 'projections') where habitat suitability modeling should be performed.
A vector of additional analyses to perform (e.g., 'variable_importance', 'functional_responses', 'cross_validation').
Optional; an integer seed for reproducibility of results.
Optional; a waiter instance to update progress in a Shiny application.