I am creating a graph using ggplot showing the evolution of poll-answers of the voting of Brexit, conducted over some months.
The code I have created so far shows every point in time as the specific date :
ggplot(data=cleandf, aes(x=startdate, y=leave)) +
geom_point() +
xlab("Date") + ylab("Percentage") +
ylim(0.0,0.6) +
theme(axis.text.x = element_text(angle = 90, vjust = 0.5, hjust=1))
But as it looks very messy and unreadable, I would like to have only every 10th or 5th date shown, but as the values are characters, I do not know how to do this using other functions I know.