Skip to content

Conversation

@vincentarelbundock
Copy link
Collaborator

library(tinyplot)

data("airquality")

airquality$Year = 1973
airquality$DateChr = paste0(airquality$Year, "-", airquality$Month)
airquality$Date = as.Date(
  paste0(airquality$DateChr, "-01"),
  format = "%Y-%m-%d"
)

plt(Temp ~ DateChr, data = airquality, type = "jitter")

plt(Temp ~ Date, data = airquality, type = "jitter")

Created on 2026-01-30 with reprex v2.1.1

@grantmcdermott
Copy link
Owner

Thanks @vincentarelbundock LGTM.

We'll have to keep an eye out if this date-jitter behaviour gets resolved at the base R level. But I guess our tests will tell us!

@grantmcdermott grantmcdermott merged commit 87844e6 into grantmcdermott:main Feb 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants