[R] (no subject)

2006-07-24 Thread Tauber, Dr E.
Eran Tauber (PhD) Lecturer in Molecular Evolution Dept. of Genetics University of Leicester University Rd, Leicester LE1 7RH England Phone: 44 (0)116 252-3455, 252-3421 (lab) Fax: 44 (0)116 252-3378 www.le.ac.uk/genetics/et22

[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