[R] time segments intersection

[Ricardo Rodriguez] Your XEN ICT Team webmaster at xen.net
Fri Oct 3 01:25:16 CEST 2008


Hi Mark,

markleeds at verizon.net wrote:
>  hi: I don't know if it's the best way but one way is to use an 
> POSIXct object. ( you can convert using as.POSIXct( 
> strptime(datestring)) because   then each unit of digit is a second 
> and you can proceed from there. if you explain what you want to do 
> exactly, maybe i can help but i think as.POSIXct is easier because 
> it's in seconds essentially already. 

Thanks for your help. I only want to get the number of days, if any, the 
two time segments have in common. I do hope I am clear enough.

Greetings,

Ricardo

-- 
Ricardo Rodríguez
Your XEN ICT Team



More information about the R-help mailing list