Re: [R] Frequency Counts per Time Period

2009-04-10 Thread William Doane
So, to complete Bill Dunlap's thought and combine it with your desired goal, I believe this gets you what you wanted... start.time <- as.POSIXct("2009-04-10 12:00:00") event.times <- start.time + c(1,2,3,61,62,122,135,200) event.values <- rnorm(length(event.times)) et <- data.frame(event.times,ev

Re: [R] Frequency Counts per Time Period

2009-04-10 Thread William Dunlap
:00 7 2009-04-10 12:02:15 -0.5020440 2009-04-10 12:02:00 8 2009-04-10 12:03:20 -0.9209041 2009-04-10 12:03:00 Bill Dunlap TIBCO Software Inc - Spotfire Division wdunlap tibco.com ------- [R] Frequency Counts per Time Period jason de

[R] Frequency Counts per Time Period

2009-04-10 Thread jason
Hello all, I would like to count the number of events that occur per minute for some measurements I have taken. I would eventually like to look at the sums of some of the measurements for the grouped events. I think I am not understanding how to use the returned value from the trunc function cor