I\'m running a logistic regression with a categorical predictor variable with levels 0-6. By default, R considers level 0 as the reference group.
How can I tell R to
You can use relevel function: dataframe$x1 <- relevel(datafrmae$x1, "type here the reference category")