Skip to content

Commit

Permalink
CRAN said to remove example for this unexported function.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschneidr committed Mar 30, 2022
1 parent d9a053b commit f8c765f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
9 changes: 0 additions & 9 deletions R/redistribute_weights.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@
#'
#' @return A numeric vector of adjusted weights, of the same length as \code{wt_set}.
#' @keywords internal
#' @examples
#'
#' example_data <- data.frame(weight = c(1.5, 1.25, 1.25, 2, 0.5, 1.5),
#' response_status = c(1, 1, 0, 0, 1, 1),
#' stratum = c('A', 'B', 'A', 'A', 'B', 'B'))
#'
#' svrep:::shift_weight(wt_set = example_data$weight,
#' is_upweight_case = example_data$response_status == 1,
#' is_downweight_case = example_data$response_status == 0)

shift_weight <- function(wt_set, is_upweight_case, is_downweight_case) {

Expand Down
10 changes: 0 additions & 10 deletions man/shift_weight.Rd

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

0 comments on commit f8c765f

Please sign in to comment.