% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scr-multiverse.R
\name{run_gazepoint_scr_multiverse}
\alias{run_gazepoint_scr_multiverse}
\title{Run a multiverse of SCR scoring specifications}
\usage{
run_gazepoint_scr_multiverse(
  dat,
  signal_col = "GSR_US",
  time_col = "time",
  trial_cols = NULL,
  condition_col = NULL,
  participant_col = NULL,
  event_time_col = NULL,
  latency_windows = list(c(1, 3), c(1, 4), c(1, 5)),
  thresholds = c(0.01, 0.05),
  baseline_methods = c("median", "mean"),
  baseline_window = c(-1, 0),
  response_metrics = c("max_minus_baseline"),
  model_function = NULL
)
}
\arguments{
\item{dat}{Sample-level EDA data.}

\item{signal_col}{Conductance/EDA signal column.}

\item{time_col}{Time column, preferably relative to stimulus onset. If
\code{event_time_col} is supplied, relative time is computed as
\code{time_col - event_time_col}.}

\item{trial_cols}{Columns identifying trials.}

\item{condition_col}{Optional experimental condition column.}

\item{participant_col}{Optional participant column.}

\item{event_time_col}{Optional event/stimulus onset time column.}

\item{latency_windows}{List of response windows in seconds.}

\item{thresholds}{SCR response thresholds.}

\item{baseline_methods}{Baseline methods: \code{"median"}, \code{"mean"}, or \code{"none"}.}

\item{baseline_window}{Baseline window in relative seconds.}

\item{response_metrics}{Response metrics: \code{"max_minus_baseline"} or
\code{"peak_to_peak"}.}

\item{model_function}{Optional function applied to each specification-level
trial summary.}
}
\value{
A list with specification grid, scored trials, optional model results,
and robustness overview.
}
\description{
Scores SCR amplitudes across multiple latency windows, thresholds, baseline
methods, and response metrics. Optionally applies a user-supplied model
function to each specification. This supports transparent sensitivity
analysis and specification-curve style reporting.
}
