Skip to content

Commit

Permalink
Better documentation for calibrate_to_sample() argument `control_co…
Browse files Browse the repository at this point in the history
…l_matches`.
  • Loading branch information
bschneidr committed Mar 9, 2024
1 parent d48238b commit d0bd14c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/calibrate_to_sample.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@
#' will be no larger than \code{epsilon} times (1 plus the absolute value of the target).
#' See \link[survey]{calibrate} for details.
#' @param variance Parameter passed to \link[survey]{grake} for calibration. See \link[survey]{calibrate} for details.
#' @param control_col_matches Optional parameter to control which control survey replicate
#' is matched to each primary survey replicate.
#' @param control_col_matches Optional parameter to specify which control survey replicate
#' is matched to each primary survey replicate. If the \eqn{i-th} entry of \code{control_col_matches}
#' equals \eqn{k}, then replicate \eqn{i} in \code{primary_rep_design} is matched
#' to replicate \eqn{k} in \code{control_rep_design.}
#' Entries of \code{NA} denote a primary survey replicate not matched to any control survey replicate.
#' If this parameter is not used, matching is done at random.
#' @return A replicate design object, with full-sample weights calibrated to totals from \code{control_rep_design},
Expand Down
6 changes: 4 additions & 2 deletions man/calibrate_to_sample.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d0bd14c

Please sign in to comment.