search for: treatment_time

Displaying 1 result from an estimated 1 matches for "treatment_time".

2006 May 30
3
Time rather than dates?
Using strptime() and other functions for dates has been very helpful with the kind of data I often work with. However, I haven't found out how time as such should be specified. All my attempts result in time *and* date: >treatment_time<-c("01:02:03","02:03:04") # hours:minutes:seconds >time.2<-strptime(treatment_time,format="%H:%M:%S") >time.2 [1] "1900-01-01 01:02:03" "1900-01-01 02:03:04" Why the 1900-...? I had hoped for some easy conversion from time to numeric d...