Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 31, 2024
1 parent f56e84c commit 67b9ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/rescale_weights.R
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ rescale_weights <- function(data,
)
} else {
# if `by` = NULL, we create a dummy group
by <- "tmp_klish_by"
by <- "tmp_kish_by"
data_tmp[[by]] <- 1
}

Expand All @@ -229,7 +229,7 @@ rescale_weights <- function(data,
# restore original order, remove dummy variables
result <- result[order(result$.bamboozled), ]
result$.bamboozled <- NULL
result$tmp_klish_by
result$tmp_kish_by

# return result
result
Expand Down

0 comments on commit 67b9ddc

Please sign in to comment.