search for: dayslt

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

2008 Oct 03
2
Ragged time series data
...ts together, but with the method I use I end up losing the corresponding time of day information. This is what I have done so far data=*vector of integers *hours= *"character" vector of times %H:%M:S% * days= *"character" vector of dates %m/%d/%Y * hr.days=paste(days,hours) hr.dayslt=as.POSIXlt(strptime(hr.days, format="%m/%d/%Y %H:%M:%S")) tapply(data,hr.dayslt$yday,max) This works to give me the counts I want corresponding to a Julain day, but it does not tell me which hour corresponds to each daily maximum. Is tapply() the wrong route? Joe * * [[alternative...