Description Usage Arguments Value See Also Examples
Running simple linear regression (slr) on multiple variables across multiple grouping variables.
1 | grouped_slr(data, dep.vars, indep.vars, grouping.vars)
|
data |
Dataframe from which variables are to be taken. |
dep.vars |
List criterion or dependent variables for simple linear
model ( |
indep.vars |
List predictor or independent variables for simple
linear model ( |
grouping.vars |
List of grouping variables. |
A tibble dataframe with tidy results from simple linear regression
analyses. The estimates are standardized, i.e. the lm
model used is
scale(y) ~ scale(x)
, and not y ~ x
.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.