Description Usage Arguments Value
Performs an lm or glm given y, a list of covariates and the indices of the covariates to take into account.
1 | regression(y, names, indices, dataset, reg_method)
|
y |
Name of the response variable in the dataset |
names |
Names of the covariates in the dataset |
indices |
Indices of the covariates considered in the regression |
dataset |
Name of the dataset |
reg_method |
Regression method |
'lm' object obtained by performing the regression with the selected covariates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.