forward_selection: Automating the forward selection of variables

View source: R/forward_selection_function.R

forward_selectionR Documentation

Automating the forward selection of variables

Description

This function takes a matrix of variables and excludes those who are not important in explaining species occurrence. If no variables are important, it does not exclude any variables. It uses the function forward.sel() from package adespatial.

Usage

forward_selection(Y, X, permutations = 9999)

Arguments

Y

A matrix of response variables

X

A matrix of predictor variables from variables will be selected.


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