flresi: Get the residuals from a regression

Description Usage Arguments Value

View source: R/Regress.R

Description

Get the residuals from a regression

Usage

1
flresi(y = y, x.var = x.var, scale = T)

Arguments

y

dataframe or vector

x.var

character variable, representing the dependent variable

scale

logical, it the result should be standardie

Value

This function perform regressions for every variable inside 'y', 'y[i] ~ x.var' and get the residuals 'y[i] - b0 * b1 x.var'

In this way we get orthogonal vectors to 'x.var'


dangulod/ECTools documentation built on May 4, 2019, 3:19 p.m.