Displaying 1 result from an estimated 1 matches for "etime1".
Did you mean:
etime
2008 Oct 05
2
Time Interval calculation using R
...ivity).
(1) I first tried
> difftime(btime, etime, units = "mins")
This however gave me the error - Error in
as.POSIXlt.character(as.character(x)) : character string is not in a
standard unambiguous format
(2) The above error message indicated some problem in format. So I tried
> etime1=as.date(etime, %H:%M:%S")
This gave me the Error: unexpected SPECIAL in "etime1=as.date(etime, %H:%"
I also tried
>etime1=format(etime, %H:%M:%S")
But this gave a similar error - unexpected SPECIAL in "etime1=format(etime,
%H:%"
Any suggestions?
Regards
[[alter...