My data set has records with usage of website in "hh:mm:ss"
I want to compare time variables as stated below.
T1 <- "00:01:10"
T2 <- "00:00:30"
Following new feature I am adding to my Dataset.
Dataset$ByAvgDuration <- ifelse(AvgSessionDuration)>T1, "Long Stay", ifelse(AvgSessionDuration<T2, "Short Stay", "Medium Stay"))
I am facing issues in output as getting NA in all rows. How to do same ?