> x.f <- function(x) x %/% 100 + (x %% 100) / 60
> x.f(c(727, 1134))
[1] 7.45000 11.56667
>
 I assume for the elapsed time you can just subtract the numbers.

 On 11/17/05, Ravi Varadhan <RVARADHAN@jhmi.edu> wrote:
>
> Hi,
>
>
>
> I have a data set where times of sample collection are (for some unknown
> reasons) stored as numerical values such as 727, 1134, etc., to represent
> the times 7:27, 11:34, etc. How can I recover these times from the
> numerical values? Also, can I obtain the elapsed time between two
> intervals?
>
>
>
> Any help is greatly appreciated.
>
>
>
> Thanks,
>
> Ravi.
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>



--
Jim Holtman
Cincinnati, OH
+1 513 247 0281

What the problem you are trying to solve?

	[[alternative HTML version deleted]]


