% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/environment-confounds-and-ipfm.R
\name{audit_gazepoint_stabilization_period}
\alias{audit_gazepoint_stabilization_period}
\title{Audit or trim the EDA electrode stabilization period}
\usage{
audit_gazepoint_stabilization_period(
  dat,
  time_col = "CNT",
  group_cols = NULL,
  stabilization_minutes = 10,
  action = c("flag", "trim"),
  output_col = "in_stabilization_period",
  time_units = c("auto", "seconds", "milliseconds")
)
}
\arguments{
\item{dat}{A data frame.}

\item{time_col}{Numeric time column.}

\item{group_cols}{Optional grouping columns.}

\item{stabilization_minutes}{Stabilization duration to flag or trim.}

\item{action}{\code{"flag"} or \code{"trim"}.}

\item{output_col}{Output logical flag column.}

\item{time_units}{\code{"auto"}, \code{"seconds"}, or \code{"milliseconds"}.}
}
\value{
A data frame with stabilization-period attributes.
}
\description{
Flags or removes the initial stabilization period in each recording/group.
This is intended to prevent early skin-electrode drift from being treated as
a stable physiological baseline.
}
