I want to plot a grouped graph in ggplot in R but don't want the NA to show.
I have the following code:
lusl %>%
ggplot(aes(wave, generalhealth)) + geom_point(alpha = .005) +
stat_summary(aes(color = harassment_fct, group = harassment_fct),
fun.y = mean, geom = "line", lwd = 1.5) +
labs(x = "Wave", y = "GHQ-12 Value", color = "Experience of Racial Harassment")
And I get the following graph:
How do I get rid of the NA?