Skip to content

Instantly share code, notes, and snippets.

@akshat3096
Last active May 3, 2019 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akshat3096/3dae645aa6e6de0b2f5b7c97bb46c904 to your computer and use it in GitHub Desktop.
Save akshat3096/3dae645aa6e6de0b2f5b7c97bb46c904 to your computer and use it in GitHub Desktop.
#convert the date format first
heart_rate$date <- as.Date(heart_rate$date,"%Y-%m-%d")
p1 <- p1+scale_x_date(date_labels = "%b/%Y")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment