% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estpw_s5_multi_s2_validation.R
\name{check_input_multi}
\alias{check_input_multi}
\title{Validate inputs and build variable sets for multi-reference calibration}
\usage{
check_input_multi(sc, sp_list, vars_list, wts_cols, verbose = FALSE)
}
\arguments{
\item{sc}{Data frame. The nonprobability sample.}

\item{sp_list}{List of reference sample data frames.}

\item{vars_list}{List of character vectors of predictor variable names
shared between `sc` and each reference sample.}

\item{wts_cols}{Character vector of survey-weight column names,
one per element of `sp_list`.}

\item{verbose}{Logical. If `TRUE`, variable-set messages are printed.}
}
\value{
A list with components:
  \item{sc}{The nonprobability sample data frame (unchanged).}
  \item{sp_list}{The reference sample list (unchanged).}
  \item{vars_XC}{Character vector: union of all per-sample variable sets,
    used to build the `sc` design matrix `Xc`.}
  \item{xcol}{List of character vectors: the variables contributed by each
    reference sample after removing variables already covered by earlier
    samples (no intercept).}
  \item{wts_cols}{Character vector of weight column names (unchanged).}
  \item{log}{Character vector of log messages describing the variable sets.}
}
\description{
Validate inputs and build variable sets for multi-reference calibration
}
\keyword{internal}
