Analyzing the Lying Behavior of Cows from Accelerometer Data
Overview
Assists in analyzing the lying behavior of cows from raw data recorded with a triaxial accelerometer attached to the hind leg of a cow. Allows the determination of common measures for lying behavior including total lying duration, the number of lying bouts, and the mean duration of lying bouts. Further capabilities are the description of lying laterality and the calculation of proxies for the level of physical activity of the cow. Reference: Simmler M., Brouwers S. P. (2024) doi:10.7717/peerj.17036.
- Fix: now allows accelerator data with any sampling frequency (given consistent)
- Fix: $load_files() can now deal with truncated timestamps (e.g. dropped 00:00:00 for midnight)
- Updated dependencies to new R and package versions
- Updated documentation and a new doc of global options (?triact_options)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 5
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 20%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 80%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/agroscope-ch/triact on 2026-10-18.
Dependencies
Installing triact adds 8 packages (5 with compiled code, 6.9 MB of source tarballs). Heaviest: data.table 5.7 MB, lubridate 420 KB, cpp11 298 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.3.1Latest
- RR 4.4.0 released · 2024-04-24
- 0.3.02023-05-19 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.2.02023-01-11
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-01-11
- Total releases
- 3 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.4
- Bundled data
- 573 KB / 1 file
- Download size
- 2.9 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("triact")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.7717/peerj.17036.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.