Package 'cardiovagal'

Title: Automatic Equivalence Testing for Cross-Species Cardiovagal Homeostasis
Description: Automates cardiovagal state regulation mapping by translating raw, noisy mammalian heart rate variability intervals into a standardized linear index using fixed physiological anchors. The package incorporates natural log data compression and utilizes two-one-sided tests (TOST) and Bayesian Region of Practical Equivalence (ROPE) thresholds to mathematically verify cross-species homeostatic synchronization. Methodologies for equivalence testing and regional practical equivalence bounds follow Lakens (2017) <doi:10.1177/1948550617697177> and Kruschke (2018) <doi:10.1177/2515245918771304>.
Authors: Amy Perry [aut, cre]
Maintainer: Amy Perry <[email protected]>
License: MIT + file LICENSE
Version: 0.1.5
Built: 2026-09-29 10:39:05 UTC
Source: https://github.com/cran/cardiovagal

Help Index


Compute Mammalian State Regulation Index

Description

Cleans raw inter-beat interval data, stabilizes exponential variance via natural log transformation, and maps metrics onto a standardized 1-to-10 homeostatic index using fixed biological anchors.

Usage

calculate_vagal_index(heart_intervals)

Arguments

heart_intervals

A numeric vector containing raw millisecond heart intervals.

Value

A numeric vector containing the standardized 1-to-10 regulation scale.

Examples

calculate_vagal_index(c(800, 820, 790, 850))