[R] time segments intersection
[Ricardo Rodriguez] Your XEN ICT Team
webmaster at xen.net
Fri Oct 3 01:49:49 CEST 2008
Not yet. I'll keep trying.
Please, what format string must I pass to strptime to get the date as a
number? Thanks.
Cheers,
Ricardo
markleeds at verizon.net wrote:
> did you get zoo to work and try gabor's solution because i wasn't
> really following what you wanted.
>
>
>
> On Thu, Oct 2, 2008 at 7:25 PM, [Ricardo Rodriguez] Your XEN ICT Team
> wrote:
>
>> 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
>
--
Ricardo Rodríguez
Your XEN ICT Team
More information about the R-help
mailing list