search for: newformateddata

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

2009 Mar 14
2
Format about Date and time
...:48:00 6 2030 45 48.6 12/22/08 13:02:00 I wan to convert the format of Date and Time, so I did this: pdate <- as.POSIXct(strptime(FormatedData$Date,"%m/%d/%Y")) ptime <- as.POSIXct(strptime(FormatedData$Time,"%H:%M:%S")) but I get the following format: > head(NewFormatedData) ID Target Actual Date Time pdate ptime 1 2030 0 -57.0 12/20/08 17:03:00 8-12-20 2009-03-14 17:03:00 2 2030 90 90.0 12/20/08 18:41:00 8-12-20 2009-03-14 18:41:00 3 2030 45 43.8 12/21/08 14:36:00 8-12-21 2009-03-14 14:36:00 4 2030 0 -23.8 12/21/08...