diff --git a/R/rescale_weights.R b/R/rescale_weights.R index b1c273e53..9205d5f03 100644 --- a/R/rescale_weights.R +++ b/R/rescale_weights.R @@ -19,7 +19,8 @@ #' by the name of the group variable. This argument is required for #' `method = "carle"`, but optional for `method = "kish"`. #' @param probability_weights Variable indicating the probability (design or -#' sampling) weights of the survey data (level-1-weight). +#' sampling) weights of the survey data (level-1-weight), provided as character +#' string or formula. #' @param nest Logical, if `TRUE` and `by` indicates at least two #' group variables, then groups are "nested", i.e. groups are now a #' combination from each group level of the variables in `by`. diff --git a/man/rescale_weights.Rd b/man/rescale_weights.Rd index fe746a67d..52e56c377 100644 --- a/man/rescale_weights.Rd +++ b/man/rescale_weights.Rd @@ -16,7 +16,8 @@ rescale_weights( \item{data}{A data frame.} \item{probability_weights}{Variable indicating the probability (design or -sampling) weights of the survey data (level-1-weight).} +sampling) weights of the survey data (level-1-weight), provided as character +string or formula.} \item{by}{Variable names (as character vector, or as formula), indicating the grouping structure (strata) of the survey data (level-2-cluster