run_sdm_analysis_no_crop: Run SDM analyses for 'species with data' format.

View source: R/SDM_GEN_MAXENT_FUNCTIONS.R

run_sdm_analysis_no_cropR Documentation

Run SDM analyses for 'species with data' format.

Description

This function takes a data frame of all taxa records, and runs a specialised maxent analysis for each taxa. It uses the dismo package https://github.com/johnbaums/rmaxent

Usage

run_sdm_analysis_no_crop(
  taxa_list,
  taxa_level,
  sdm_df,
  sdm_predictors,
  maxent_dir,
  bs_dir,
  backwards_sel,
  template_raster,
  cor_thr,
  pct_thr,
  k_thr,
  min_n,
  max_bg_size,
  background_buffer_width,
  features,
  feat_save,
  replicates,
  responsecurves,
  poly_path,
  epsg
)

Arguments

taxa_list

Character string - the taxa to run maxent models for

taxa_level

Character string - the taxnomic level to run maxent models for

sdm_df

SpatialPointsDataFrame. Spdf of all taxa records returned by the 'prepare_sdm_table' function

sdm_predictors

Character string - Vector of enviro conditions that you want to include

maxent_dir

Character string - The file path used for saving the maxent output

bs_dir

Character string - The file path used for saving the backwards selection maxent output

backwards_sel

Logical - Run backwards selection using the maxent models (T/F)?

template_raster

RasterLayer - Empty raster with analysis extent (global), res (1km) and projection (Mollweide, EPSG 54009)

cor_thr

Numeric - The max allowable pairwise correlation between predictor variables

pct_thr

Numeric - The min allowable percent variable contribution

k_thr

Numeric - The min number of variables to be kept in the model

min_n

Numeric - The min number of records for running maxent

max_bg_size

Numeric - The max number of background points to keep

background_buffer_width

Numeric - The max distance (km) from occ points that BG points should be selected?

features

Character string - Which features should be used? (e.g. linear, product, quadratic 'lpq')

feat_save

Logical - Save features of the occ and bg data (T/F)?

replicates

Numeric - The number of replicates to use

responsecurves

Logical - Save response curves of the maxent models (T/F)?

poly_path

Character string - file path to feature polygon layer

epsg

Numeric - ERSP code of coord ref system to be translated into WKT format


HMB3/nenswniche documentation built on Jan. 31, 2023, 11:46 p.m.