Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 836 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 836 Bytes

accr

The goal of accr is to provide a toolkit for working with accelerometer data from small animal studies.

Note: This package is currently in the alpha stage, and its functionality may change significantly in the near future.

Installation

You can install the development version of accr from GitHub with:

remotes::install_github("mpio-be/accr")

Example

This is a basic example which shows how to plot an actogram while computing a resting threshold on the fly.

library(accr)
data(pesaODBA)
setODBA(pesaODBA, "datetime_", "ODBA")
actogram(pesaODBA, threshold = resting_threshold)