I am trying to find the duration in seconds between adjacent time stamps. The first issue I am having is that I am not sure if it is treating each timestamp as a number, I tried using
TimeStamp <- read.csv("DateStamps.csv", header = TRUE, colClasses = "character")
However, I am not sure if it is working, because, on empty spaces, where there should be an NA
, there is nothing.
For the differences, I want to find 4 durations in seconds, (gather order - start, walk to car - gather order, handoff - walk to car, return to store - handoff) all of this through adjacent columns. However, I am not sure how to do this, or how to write a piece of code that would recognize the specific differences I want to calculate.