Data Science, Machine Learning, Rstats, Startup.
time in POSIXct (date / time data type) and subtracting ‘first_date’ from the current time will return the difference in ‘difftime’ data type. Since we want to get numbers instead of ‘difftime’, I’m using ‘as.numeric’ to convert to numeric type. Cool thing about ‘as.numeric’ function is that we can