I am using geom_point() with ggplot to essentially create the equivalent of a -coefplot- with coefficients of 5 different models on one plot.
Is it possible for me to change the color of just one point (and corresponding CI bars)? What about the color/font/etc. of an individual axis tick label? For example, if I only want to make the font bold for the label for Model 3 and make Model 3's coefficient point (+ CI bars) red (or any other color to distinguish it). I've tried scale_fill_manual
but that didn't seem to do the trick.
My current code (with scale_x_discrete, the names of the models are just Model 1, 2, 3, etc. and I'm putting them in order there):
ggplot(d, aes(x = var, y = coef)) +
geom_point() +
geom_pointrange(aes(ymin = cilow, ymax = ciupper)) +
scale_x_discrete(limits = model_order, labels = model_label) +
theme_minimal()