You don't need to do these operations in pieces so the mapply is unnecessary.
Neither dplyr nor data.table can go faster than (assuming your data frame is
called DF):
DF$dtm <- as.POSIXct( as.numeric( DF$ts ), tz="GMT", origin="1970-01-01" )
They can in this case save you from having to retype
I am little lost between all the possibilities to apply a function to
a data.frame or data.table.
Here is mine:
structure(list(name = c("poisonivy", "poisonivy", "poisonivy",
"poisonivy", "poisonivy", "poisonivy", "poisonivy", "poisonivy",
"cruzecontrol", "agreenmamba", "agreenmamba", "vairis", "
2 matches
Mail list logo