% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/external-interoperability.R
\name{export_gazepoint_rhrv_input}
\alias{export_gazepoint_rhrv_input}
\title{Export Gazepoint IBI data for RHRV-style workflows}
\usage{
export_gazepoint_rhrv_input(
  data,
  ibi_col = "IBI_clean_ms",
  group_cols = NULL,
  unit = c("auto", "ms", "seconds"),
  collapse_repeated_intervals = TRUE,
  repeated_tolerance_ms = 1e-08,
  min_ibi_ms = 300,
  max_ibi_ms = 2000,
  output_dir = NULL,
  prefix = "gazepoint_rhrv"
)
}
\arguments{
\item{data}{A Gazepoint biometric data frame or \code{gazepoint_ibi_filter} object.}

\item{ibi_col}{IBI/RR interval column.}

\item{group_cols}{Optional grouping columns.}

\item{unit}{Unit of the IBI column: \code{"auto"}, \code{"ms"}, or \code{"seconds"}.}

\item{collapse_repeated_intervals}{Logical. If \code{TRUE}, consecutive repeated
IBI values are collapsed before export.}

\item{repeated_tolerance_ms}{Numeric tolerance used when identifying repeated
consecutive IBI values.}

\item{min_ibi_ms}{Minimum plausible IBI in milliseconds retained for export.}

\item{max_ibi_ms}{Maximum plausible IBI in milliseconds retained for export.}

\item{output_dir}{Optional directory where per-group CSV files are written.}

\item{prefix}{File prefix used when \code{output_dir} is supplied.}
}
\value{
A list with \code{overview}, \code{beat_table}, \code{group_summary}, \code{manifest},
and \code{settings}.
}
\description{
Prepares cleaned inter-beat interval data for external HRV workflows. The
helper writes simple beat tables with cumulative beat time and IBI/RR interval
columns. It does not use the Gazepoint \code{HRV} column.
}
