R/tolerance.R

Defines functions tolerance

Documented in tolerance

#'Compute tolerance for Multiple Regression
#'@param model name of model
#'@examples
#'mymodel<-lm(y~x1+x2+x3+x4+x5, data=testreg)
#'tolerance(model=mymodel)
#'@return Tolerance for MR
#'@export
#'

tolerance<-function(model=NULL){
1/car::vif(model)}

Try the BetterReg package in your browser

Any scripts or data that you put into this service are public.

BetterReg documentation built on March 30, 2022, 5:07 p.m.