cetaceanbcg
This repository contains the data and code for our paper:
Czapanskiy, M. F., Ponganis, P. J., Fahlbusch, J. A., and Goldbogen, J. A. (in press). An accelerometer-derived ballistocardiogram method for detecting heartrates in free-ranging marine mammals.
How to cite
Following publication, please cite this compendium as:
Czapanskiy, M. F., Ponganis, P. J., Fahlbusch, J. A., and Goldbogen, J. A. (2022). Compendium of R code and data for βAn accelerometer-derived ballistocardiogram method for detecting heartrates in free-ranging marine mammalsβ. Accessed 16 Jun 2022.
Contents
The analysis directory contains:
π paper: R Markdown source document for manuscript. Includes code to reproduce the figures and tables generated by the analysis. It also has a rendered version,paper.docx
, suitable for reading (the code is replaced by figures and tables in this file)π data: Data used in the analysis.π figures: Plots and other illustrationsπ supplementary-materials: Supplementary materials including notes and other documents prepared and collected during the analysis.
How to download and run locally
This research compendium has been developed using the statistical programming language R. To work with the compendium, you will need installed on your computer the R software itself and optionally RStudio Desktop.
You can download the compendium as a zip from from this URL:
main.zip. After unzipping: - open the .Rproj
file
in RStudio - run devtools::install()
to ensure you have the packages
this analysis depends on (also listed in the DESCRIPTION
file). - finally, open analysis/paper/paper.Rmd
and knit to produce
the paper.docx
, or run rmarkdown::render("analysis/paper/paper.Rmd")
in the R console
Licenses
Text and figures : CC-BY-4.0
Code : See the DESCRIPTION file
Data : CC-0 attribution requested in reuse