Description Usage Arguments Details Value Author(s) See Also
multiSLM
Performs simple linear regression on multiple variables.
1 | multiSLM(x, vars, target)
|
x |
Dataframe to be summarized |
vars |
Character vector containing the names of the variables to analyse |
target |
Column name of target variable. |
Performs simple linear regression on multiple variables vis-a-vis the target variable and returns a list containing the models, the regression results and the statistics. The regression statisics for each variable are summarized in descending order of r squared.
A list containing a list of model information by predictor and a dataframe summarizing regression statistics by predictor. The model information is comprised of a list containing the model object, the regression results, and the regression statistics.
John James, jjames@datasciencesalon.org
Other Analysis Functions: assocMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.