I have a numeric column called "hh" with hours in such format:
hh
14.5
15.0
15.5
... representing a whole day I want to format as hour such as:
14:30
15:00
15:30
I tried
format(as.POSIXct(Sys.Date()+df$HH), "%H:%M", tz="UTC", origin="UTC")
and did not worked. Any suggestions?