% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quality.R
\name{audit_gazepoint_hr_quality}
\alias{audit_gazepoint_hr_quality}
\title{Audit Gazepoint heart-rate signal quality}
\usage{
audit_gazepoint_hr_quality(
  data,
  value_column = "HR",
  validity_column = "HRV",
  min_value = 30,
  max_value = 220,
  jump_threshold = 25
)
}
\arguments{
\item{data}{A data frame or a path to a Gazepoint CSV export.}

\item{value_column}{Heart-rate value column. Defaults to \code{"HR"}.}

\item{validity_column}{Heart-rate validity column. Defaults to \code{"HRV"}.}

\item{min_value}{Minimum plausible heart rate.}

\item{max_value}{Maximum plausible heart rate.}

\item{jump_threshold}{Threshold for detecting large sample-to-sample jumps.}
}
\value{
A one-row data frame summarising signal quality.
}
\description{
Audits Gazepoint heart-rate values for missingness, inactive zero rows,
validity flags, plausible value ranges, sudden jumps, flatlining, and usable
sample coverage. \code{HRV} is treated as the heart-rate validity flag, not as a
heart-rate-variability metric.
}
