HLCtools: Calculate Herd Lying Concordance Metrics

Calculates Herd Lying Concordance (HLC) metrics from individual animal lying-behaviour data. HLC is a continuous framework for quantifying group-level behavioural cohesion from between-animal dispersion within observation intervals. The package implements standard deviation, mean absolute deviation, interquartile range, and entropy formulations, lying-weighted extensions, threshold-based synchrony comparisons, temporal summaries, and descriptive method-ranking tools. The HLC formulations are introduced in this package; related approaches to cattle behavioural synchrony include Raussi et al. (2011) <doi:10.1017/S1751731110001928>, Kok et al. (2023) <doi:10.1016/j.applanim.2023.105906>, and the activity metric framework of van Dixhoorn et al. (2024) <doi:10.24072/pcjournal.489>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dplyr, rlang
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-07-23
DOI: 10.32614/CRAN.package.HLCtools (may not be active yet)
Author: Guilherme Amorim Franchi ORCID iD [aut, cre, cph]
Maintainer: Guilherme Amorim Franchi <gaf at anivet.au.dk>
BugReports: https://github.com/guilhermefranchi/HLCtools/issues
License: MIT + file LICENSE
URL: https://github.com/guilhermefranchi/HLCtools
NeedsCompilation: no
Language: en-US
Citation: HLCtools citation info
Materials: README, NEWS
CRAN checks: HLCtools results

Documentation:

Reference manual: HLCtools.html , HLCtools.pdf
Vignettes: Getting started with HLCtools (source, R code)

Downloads:

Package source: HLCtools_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): HLCtools_0.1.0.tgz, r-oldrel (arm64): HLCtools_0.1.0.tgz, r-release (x86_64): HLCtools_0.1.0.tgz, r-oldrel (x86_64): HLCtools_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=HLCtools to link to this page.