% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/advanced-modality-bridges.R
\name{analyze_gazepoint_skin_potential}
\alias{analyze_gazepoint_skin_potential}
\title{Analyse endosomatic skin-potential recordings}
\usage{
analyze_gazepoint_skin_potential(
  dat,
  sp_col,
  time_col,
  group_cols = NULL,
  response_direction = c("both", "positive", "negative"),
  response_threshold = NULL,
  min_response_distance_s = 1
)
}
\arguments{
\item{dat}{A data frame.}

\item{sp_col}{Numeric skin-potential column, usually in millivolts.}

\item{time_col}{Numeric time column.}

\item{group_cols}{Optional grouping columns.}

\item{response_direction}{\code{"both"}, \code{"positive"}, or \code{"negative"}.}

\item{response_threshold}{Optional absolute threshold for response detection.
If \code{NULL}, a MAD-based derivative threshold is used.}

\item{min_response_distance_s}{Minimum distance between detected responses.}
}
\value{
A list with \code{overview}, \code{level_summary}, \code{response_table},
\code{timeseries}, and \code{settings}.
}
\description{
Computes skin-potential level and skin-potential response descriptors from a
voltage-like skin-potential column. This is for endosomatic skin-potential
recordings, not standard exosomatic skin conductance.
}
