recherche_multicol: Search for multicolinearity

View source: R/ajustments.R View source: R/ajustments.R

recherche_multicolR Documentation

Search for multicolinearity

Description

This function removes all terms of the model with a VIF > 5

This function removes all terms of the model with a VIF > 5

Usage

recherche_multicol(tab, vardep, varindep, varajust, type, pred = FALSE)

recherche_multicol(tab, vardep, varindep, varajust, type, pred = FALSE)

Arguments

tab

A data frame

vardep

A character string of the dependant variable

varindep

A character vector of the independant variables

varajust

A character vector of the adjustment variables

type

A character string of the type of modeling, having a value among "linear", "logistic" or "survival"

Value

A character vector of all terms with a VIF > 5

A character vector of all terms with a VIF > 5


KZARCA/simplestats documentation built on Feb. 19, 2024, 1:11 a.m.