Skip to content

Commit 6887faf

Browse files
dshemetovdajmcdon
andcommitted
Update R/new_epipredict_steps/step_yeo_johnson.R
Co-authored-by: Daniel McDonald <[email protected]>
1 parent 7909560 commit 6887faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/new_epipredict_steps/step_yeo_johnson.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ bake.step_epi_YeoJohnson <- function(object, new_data, ...) {
218218

219219
# Transform each column, using the appropriate lambda column per row.
220220
# Note that yj_transform() is vectorized.
221-
new_data %<>% left_join(object$lambdas, by = keys)
221+
new_data <- left_join(new_data, object$lambdas, by = keys)
222222
for (col in col_names) {
223223
new_data <- new_data %>%
224224
rowwise() %>%

0 commit comments

Comments
 (0)