summary(all_trips_v2$ride_length)
Trying to get statistical summary using above code, but this is what I am getting,
Length Class Mode
3136598 difftime numeric
If I use > mean(all_trips_v2$ride_length)
Time difference of 1477.222 secs
median(all_trips_v2$ride_length)
Time difference of 674 secs
max(all_trips_v2$ride_length)
Time difference of 10632022 secs
max(all_trips_v2$ride_length)
Time difference of 10632022 secs
summary(all_trips_v2$ride_length)
it all works fine.I checked for NA and the class is defo difftime.what is going wrong here?