Re: [R] Identifying peaks (or offsets) in a time series

2006-07-25 Thread Ulrik Stervbo
Could Petr Pikal's peaks function (http://finzi.psych.upenn.edu/R/Rhelp02a/archive/33097.html) be of any use? Ulrik On 7/24/06, Tauber, Dr E. [EMAIL PROTECTED] wrote: Dear R-users, We are monitoring the activity of animals during a few days period. The data from each animal (crossing of

Re: [R] Identifying peaks (or offsets) in a time series

2006-07-25 Thread Ted Harding
On 25-Jul-06 Ulrik Stervbo wrote: Could Petr Pikal's peaks function (http://finzi.psych.upenn.edu/R/Rhelp02a/archive/33097.html) be of any use? Ulrik On 7/24/06, Tauber, Dr E. [EMAIL PROTECTED] wrote: Dear R-users, We are monitoring the activity of animals during a few days period.

[R] Identifying peaks (or offsets) in a time series

2006-07-24 Thread Tauber, Dr E.
Dear R-users, We are monitoring the activity of animals during a few days period. The data from each animal (crossing of infra-red beam) are collected as a time series (in 30 min bins). An example is attached below. y - c(0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,3,28,27,46,76,77,60,19,35,55,59,48

Re: [R] Identifying peaks (or offsets) in a time series

2006-07-24 Thread Gabor Grothendieck
Try: RSiteSearch(finding peaks) On 7/24/06, Tauber, Dr E. [EMAIL PROTECTED] wrote: Dear R-users, We are monitoring the activity of animals during a few days period. The data from each animal (crossing of infra-red beam) are collected as a time series (in 30 min bins). An example is

Re: [R] Identifying peaks (or offsets) in a time series

2006-07-24 Thread jim holtman
Here is something that will mark the beginning/end of your sequence. You will have to adjust the low limits and the lengths to fit your requirements. y - c(0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,3,28,27,46,76,77,60,19,35,55,59,48