We run several experiments in a month and I would like to plot them using ggplot. Each have a different experiment id and I can easily plot them using the experiment id. However, I would like to display the month as the labels on x-axis instead of the experiment id. Is there and easy way to do that?
df<- data.frame(id = LETTERS[1:20],
value = runif(20,10,20),
month = rep(month.name[1:5], each = 4))
)
ggplot(df, aes(id,value))+
geom_point()