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