% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pwmean_s6_output.R
\name{build_domains_df}
\alias{build_domains_df}
\title{Build the estimates summary data frame}
\usage{
build_domains_df(labels, mean_unw, se_unw, mean_adj, se_adj)
}
\arguments{
\item{labels}{Character vector of domain labels, one entry per domain.}

\item{mean_unw}{Numeric vector of unweighted (naive) domain means.}

\item{se_unw}{Numeric vector of standard errors for the unweighted means.}

\item{mean_adj}{Numeric vector of pseudo-weighted (adjusted) domain means.}

\item{se_adj}{Numeric vector of standard errors for the adjusted means.}
}
\value{
A data frame with one row per domain and columns `domain`,
  `unweighted_mean`, `unweighted_se`, `unweighted_lower`,
  `unweighted_upper`, `adjusted_mean`, `adjusted_se`, `adjusted_lower`,
  and `adjusted_upper`.
}
\description{
Constructs the `estimates` data frame that is stored in a `pwmean` object.
Each row corresponds to one estimate. The 95% confidence intervals are
computed using the 0.975 normal quantile (approximately 1.96).
}
\keyword{internal}
