I have a ggplot and I want to highlight only some specific x-axis labels according to a predefined condition.
I know that axis text is controlled by
theme(axis.text = element_text(...))
but this applies to all labels of the axis. What I want is that the formatting change be applied only the labels that have condition = 1.