Description Usage Arguments Value
Get the residuals from a regression
| 1 | 
| y | dataframe or vector | 
| x.var | character variable, representing the dependent variable | 
| scale | logical, it the result should be standardie | 
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'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.