You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If date column is formatted as POSIXct, seq() function produces dates with daylight saving applied. This results in a sequence of days with hour components 23:00:00. When merge happens here
dtDateValue is updated with NA values for days that have the daylight savings are applied.
Adding na.value = "white" to scale_fill_continuous() reveals those NA values like below.
One solutions is that user formats the dates with as.Date() before plotting. Or, you might consider using as.POSIXct() with tz set to UTC in seq() and then merge.
The text was updated successfully, but these errors were encountered:
If date column is formatted as
POSIXct
,seq()
function produces dates with daylight saving applied. This results in a sequence of days with hour components23:00:00
. When merge happens heredtDateValue
is updated withNA
values for days that have the daylight savings are applied.Adding
na.value = "white"
toscale_fill_continuous()
reveals thoseNA
values like below.One solutions is that user formats the dates with
as.Date()
before plotting. Or, you might consider usingas.POSIXct()
withtz
set toUTC
inseq()
and then merge.The text was updated successfully, but these errors were encountered: