R-SCRIPT and EXAMPLE DATA to extract incubation bouts from continuous RFID and video data
# The R-SCRIPT shows how to extract incubation bouts (i.e., the time between the arrival of a parent and its departure from the nest followed by incubation by its partner) from instantaneous continusou RFID data and from video data scored for start and end of an event on the nest (be it incubation, feeding, exchange, etc.). The RFID DATA were collected by M. Bulla & B. Kempenaers in 2012 and the VIDEO DATA by K. Weidinger 2009 and scored by M. Sladecek.
# The two EXAMPLE DATA sets are available as two text files.
# Values are separated by semi-colon.
# Missing values are NA.
# For better readability the subsections of the script can be collapsed
# The following script runs with R (Version 3.1.1) and package plyr (Version 1.8.1)
# Questions can be directed to: Martin Bulla (bulla.mar@gmail.com)
#--------------------------------------------------------------------------------------------------------
#WHEN USING THIS R-SCRIPT OR DATA, PLEASE CITE:
#Bulla M (2015). R-SCRIPT and EXAMPLE DATA to extract incubation bouts from continuous RFID and video data. figshare. http://dx.doi.org/10.6084/m9.figshare.1533278. Retrieved add datetime.