0

I want to create a scatter plot showing daily heart rate, but with the x-axis showing month not day.

I would like the plot to look something like this: enter image description here

With the code below I have created the following plot:

Sheep_1784 %>%
  ggplot(aes(x=Date, y=HeartRate)) + 
  geom_point()+
  theme_bw() +
  xlab("Month") + 
  ylab("HeartRate") 

enter image description here

Can you please advise how I can change the axis of my plot (second plot) to look like the first plot.

alex
  • 153
  • 1
  • 10

0 Answers0