% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eda-intervals-and-kleckner.R
\name{classify_gazepoint_scr_intervals}
\alias{classify_gazepoint_scr_intervals}
\title{Classify SCRs into FIR, SIR, and TIR latency intervals}
\usage{
classify_gazepoint_scr_intervals(
  dat,
  response_time_col = NULL,
  stimulus_onset_col = NULL,
  latency_col = NULL,
  output_col = "scr_interval",
  latency_output_col = "scr_latency_s",
  fir = c(1, 4),
  sir = c(4, 7),
  tir = c(7, 10)
)
}
\arguments{
\item{dat}{A data frame containing SCR events or peaks.}

\item{response_time_col}{Optional response/peak time column.}

\item{stimulus_onset_col}{Optional stimulus-onset column. Required when
\code{latency_col} is not supplied.}

\item{latency_col}{Optional precomputed latency column.}

\item{output_col}{Name of the output interval column.}

\item{latency_output_col}{Name of the latency output column.}

\item{fir}{Numeric vector of length two defining FIR window in seconds.}

\item{sir}{Numeric vector of length two defining SIR window in seconds.}

\item{tir}{Numeric vector of length two defining TIR window in seconds.}
}
\value{
A data frame with interval labels and latency metadata.
}
\description{
Classifies extracted SCRs into first-, second-, and third-interval response
windows based on response latency after stimulus onset.
}
