Skip to content
R for the Rest of Us: A Statistics-Free Introduction comes out June 25th. Or you can read the online version today. Check it out →
R for the Rest of Us Logo

This lesson is locked

Get access to all lessons in this course.

If the video is not playing correctly, you can watch it in a new window

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Slides

Learn More

The R code used in this lesson for annotations.

Check out the documentation from the ggplot book for more tips on other types of annotations.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Yuri Zharikov

Yuri Zharikov

February 21, 2023

In this and previous examples, when x-axis is a timeline with months and years, years are labeled only once (when they change). How is this achieved? Thank you, Yuri