[R] help with time series

Ronaldo Reis Jr. chrysopa at insecta.ufv.br
Fri Jul 26 17:41:41 CEST 2002


Hi all,
I have an experiment that this:
Moths's behavior, where 0 is not behavior and 1 is behavior
I look the moths every 10 minutes for 960 minutes/day for 7 days.
Exist an interval of the 480 minutes between the days with no observations 

My dataset is something like this:
------------------------------------
| day | minutes | moth | behavior |
------------------------------------
|  1  |    0    |  m1  |     0     |
|  1  |   10    |  m1  |     1     |
|  1  |   20    |  m1  |     1     |
|  1  |   30    |  m1  |     0     |
|  1  |   ...   |  m1  |     1     |
|  1  |   960   |  m1  |     0     |
|  2  |    0    |  m1  |     0     |
|  2  |   10    |  m1  |     1     |
|  2  |   20    |  m1  |     1     |
|  2  |   30    |  m1  |     0     |
| ... |   ...   |  m1  |     1     |
|  7  |   960   |  m1  |     0     |
|  1  |    0    |  m2  |     0     |
|  1  |   10    |  m2  |     1     |
|  1  |   20    |  m2  |     1     |
|  1  |   30    |  m2  |     0     |
|  1  |   ...   |  m2  |     1     |
|  1  |   960   |  m2  |     0     |
|  2  |    0    |  m2  |     0     |
|  2  |   10    |  m2  |     1     |
|  2  |   20    |  m2  |     1     |
|  2  |   30    |  m2  |     0     |
| ... |   ...   |  ... |     1     |
|  7  |   960   |  mx  |     0     |
------------------------------------

Each moth is a repetition.

I need know:
the time for the initial behavior per day
the frequency of behavior per day
the time for the end behavior per day
if the behavior change in each day, comparing the curves.

Time series functions is appropriate for this? If yes, what functions and what 
package (ts or tseries)? if not, exist any function for this?

Thank you
Response maybe private for this off-topic questions.

-- 
We are not a loved organization, but we are a respected one.
		-- John Fisher
--
|   //|\\   [*****************************][*******************]
|| ( õ õ )  [Ronaldo Reis Júnior          ][PentiumIII-600     ]
|     V     [ESALQ/USP-Entomologia, CP-09 ][HD: 30 + 10 Gb     ]
||  / l \   [13418-900 Piracicaba - SP    ][RAM: 128 Mb        ]
|  /(lin)\  [Fone: 19-429-4199 r.229      ][Video: SiS620-8Mb  ]
||/(linux)\ [chrysopa at insecta.ufv.br      ][Modem: Pctel-onboar]
|/ (linux) \[ICQ#: 5692561                ][SO: CL 7.0 (2.2.19)]
||  ( x )   [*****************************][*******************]
||| _/ \_Powered by Conectiva Linux 7.0 D+:) | Lxuser#: 205366


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list