data_test_mod_cat | R Documentation |
This dataset has one predictor, one moderator, one control variable, one dependent variable, and a categorical variable.
data_test_mod_cat
A data frame with 500 rows and five variables:
Dependent variable, continuous
Independent variable, continuous
Moderator, continuous
Control variable, continuous
String variable with these values: "gp1", "gp2", and "gp3"
lm_out <- lm(dv ~ iv * mod + cov1 + cat1, data_test_mod_cat)
summary(lm_out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.