remove_singleVariable: Remove single correlated variable based on VIF values and...

Description Usage Arguments Value

View source: R/remove_singleVariable.R

Description

Removes the variable that contributed the least to a default Maxent model and had a VIF greater than a user-defined value.

Usage

1
remove_singleVariable(pred_vars, th)

Arguments

pred_vars

raster stack of variables to be used as potential predictor variables

th

numeric value that denotes the maximum allowed VIF value among predictor variables.

Value

A raster stack of predictor variables that has had one variable removed based on its VIF and permutation importance to maxent model.


mbelitz/autoSDM documentation built on Dec. 21, 2021, 3:55 p.m.