R code to make the datasets from the raw data for the series of papers of the on-ogoing project analyzing the seismic effects on the narwhals in East Greenland, e.g.
-
Mads Peter Heide-Jørgensen, Susanna B Blackwell, Outi Tervo, Adeline L Samson, Eva Garde, Rikke G Hansen, Manh Cuong Ngo, Alexander S Conrad, Per Trinhammer, Hanse Christian Schmidt, Mikkel-Holger Strander Sinding, Terrie Williams and Susanne Ditlevsen: Behavioral response study on seismic airgun and vessel exposures in narwhals. Frontiers in Marine Science, 8:658173. doi: 10.3389/fmars.2021.658173, 2021.
-
Outi Maria Tervo, Susanne Ditlevsen, Manh Cuong Ngo, Nynne Hjort Nielsen, Susanna Birgitte Blackwell, Terrie M Williams and Mads Peter Heide-Jørgensen: Hunting by the stroke: How foraging drives diving behavior and swimming biomechanics of East-Greenland narwhals (Monodon monoceros). Frontiers in Marine Science, 7, 1244, 2021. DOI: 10.3389/fmars.2020.596469.
The main analysis is in the file "Dead_Reckoning_2018-LI.R". File "func.cpp" consists several functions to support fast computation for the analysis in the main file.