% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sequence-inference.R
\name{declare_sequence_comparison_design}
\alias{declare_sequence_comparison_design}
\title{Declare a sequence group-comparison design}
\usage{
declare_sequence_comparison_design(
  group_col,
  unit_col,
  design = c("observational", "randomized", "paired_randomized"),
  pair_col = NULL,
  cluster_col = NULL
)
}
\arguments{
\item{group_col}{Group or treatment column.}

\item{unit_col}{Independent assignment or analysis-unit column.}

\item{design}{\code{"observational"}, \code{"randomized"}, or
\code{"paired_randomized"}.}

\item{pair_col}{Pair or block column required for paired randomization.}

\item{cluster_col}{Optional higher-level assignment cluster.}
}
\value{
An object of class \code{gp3_sequence_comparison_design}.
}
\description{
Records the unit of assignment and the design under which a sequence-group
contrast will be evaluated. Causal interpretation is permitted only for an
explicitly randomized design and still depends on the validity of the study
implementation.
}
\examples{
declare_sequence_comparison_design("group", "participant_id",
                                   design = "randomized")
}
