Published February 7, 2021 | Version v1.1

Source code and data for: Spatial cognitive ability is associated with speed of movement in the early exploration of an environment

  • 1. University of Exeter
  • 2. University of Plymouth, University of Exeter
  • 3. The Hebrew University of Jerusalem
  • 4. Tel-Aviv University

Description

For any questions about the code please contact Christine at c.e.beardsworth@gmail.com

To use any data contained in this repository contact Joah at j.r.madden@exeter.ac.uk for permission.

Code:

The data for the following /code sections are found in /data, apart from the full filtered movement dataset (used in `1_cleaning and run HMM.R`) as it is too large to be included here. Figures created using this code are stored in /figs

  • 1_cleaning and run HMM.R: Some extra cleaning of pheasant movement data and subsetting so that only birds that have 7 days of data (of at least 6 hours) are present in the dataset. The beginning section R code is an example only as the data is not available on this repository. The data can be retrieved from Christine or Joah. However, the code shows how the subsequent files that are included here are created and how we ran Hidden Markov models. 
  •  2_Choose HMM and describe states and HRs.R: This code shows how we chose the best HMM to describe state transitions. We also use the same dataset to create HRs that are shown in Fig 2 of the manuscript. 
  • 3_Statistics.R: This code performs the statistics used in the manuscript as well as some figures.
  • 4_ESM.R: This code produces the figures found in the supplementary material.
     

Files

CBeardsworth/pheasant_spacog_movement-v1.1.zip

Files (123.7 MB)

Name Size Download all
md5:b6bba9d5418a83d858156e7159a2cc45
123.7 MB Preview Download

Additional details

Funding

European Commission
EVOCOGN - The Evolution of Cognitive Performance 616474