Skip to content
Prev 245765 / 398506 Next

Lost in POSIX

df = structure(list(t = structure(c(1033963406.044, 1033974144.847, 
+ 1033988418.836), class = c("POSIXt", "POSIXct"))), .Names = "t", row.names
= c(NA, 
+ 3L), class = "data.frame") 
df$min = trunc(df$t,units="mins") 

does not work, Jeff; you will see that my original post suggests familiarity
with 'trunc' :)