Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 17, 2024
1 parent c08b07a commit 3cfc128
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion R/rescale_weights.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@
#' )
#' }
#' @export
rescale_weights <- function(data, by, probability_weights, nest = FALSE, method = "carle") {
rescale_weights <- function(data,
by = NULL,
probability_weights = NULL,
nest = FALSE,
method = "carle") {
if (inherits(by, "formula")) {
by <- all.vars(by)
}
Expand Down
8 changes: 7 additions & 1 deletion man/rescale_weights.Rd

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

0 comments on commit 3cfc128

Please sign in to comment.