79249357

Date: 2024-12-03 22:32:57
Score: 0.5
Natty:
Report link

Literally a decade old post, but here is the more direct answer to initializing a difftime object in case someone else has a need to get this done (like myself).

t <- as.difftime(numeric(9), units="secs")
t
# Time differences in secs
# [1] 0 0 0 0 0 0 0 0 0
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: noNameTed