% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eda-gram-plot.R
\name{plot_gazepoint_eda_gram}
\alias{plot_gazepoint_eda_gram}
\title{Plot an EDA-gram-style time-frequency representation}
\usage{
plot_gazepoint_eda_gram(
  dat,
  eda_col = "GSR_US",
  time_col = "CNT",
  group_cols = NULL,
  group_id_to_plot = NULL,
  sampling_rate = NULL,
  window_seconds = 30,
  step_seconds = 5,
  frequency_range = c(0.01, 0.5),
  frequency_bins = 64,
  log_power = TRUE,
  plot = TRUE,
  main = "EDA-gram"
)
}
\arguments{
\item{dat}{A data frame containing EDA data.}

\item{eda_col}{Numeric EDA/conductance column.}

\item{time_col}{Numeric time column.}

\item{group_cols}{Optional grouping columns.}

\item{group_id_to_plot}{Optional group ID to plot. If \code{NULL}, plots the first
available group.}

\item{sampling_rate}{Optional sampling rate in Hz. If \code{NULL}, estimated from
\code{time_col}.}

\item{window_seconds}{Sliding-window length.}

\item{step_seconds}{Sliding-window step.}

\item{frequency_range}{Frequency range shown in Hz.}

\item{frequency_bins}{Number of frequency bins.}

\item{log_power}{Logical. If \code{TRUE}, plot log1p power.}

\item{plot}{Logical. If \code{TRUE}, draw the EDA-gram.}

\item{main}{Plot title.}
}
\value{
Invisibly returns a list with \code{overview}, \code{gram_table},
\code{plot_matrix}, and \code{settings}.
}
\description{
Creates a dependency-light EDA-gram-style representation using sliding-window
spectral power. This is inspired by EDA-gram visualisations, but it does not
implement a full sparse dictionary decomposition unless such a model is
supplied externally.
}
