% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/poststrat-ladder.R
\name{wf_collapse_ladder}
\alias{wf_collapse_ladder}
\title{Declare a post-stratification collapse ladder}
\usage{
wf_collapse_ladder(dims, ...)
}
\arguments{
\item{dims}{A \code{wf_dims} object.}

\item{...}{Named ladder levels, each a list of named character vectors in
the form \code{old = "new"} by dimension.}
}
\value{
A \code{wf_collapse_ladder} object.
}
\description{
Creates an ordered, cumulative, validated category-collapse ladder for
post-stratification cell resolution. Level 0 is the raw classification; each
named level applies one additional set of dimension maps.
}
\examples{
dims <- wf_dims(age = c("young", "old"), education = c("low", "high"))
wf_collapse_ladder(
  dims,
  level1 = list(age = c(young = "all", old = "all"))
)
}
