VIF_selection: Automating the exclusion of multicolinear variables

View source: R/VIF_selection_function.R

VIF_selectionR Documentation

Automating the exclusion of multicolinear variables

Description

This function takes a matrix of variables and excludes those who exhibit a variance inflation factor higher than 3 for giving matrix of response variables. It uses the function vif.cca() from package vegan.

Usage

VIF_selection(Y, X)

Arguments

Y

A matrix of response variables

X

A matrix of predictor variables from which multicolinear variables will be excluded.


RodolfoPelinson/AtlanticForestMetacommunity documentation built on Aug. 5, 2023, 3:53 p.m.