Skip to content

Commit d3d7e81

Browse files
committed
fix: add link to taken recipes code
1 parent 5d6f0c7 commit d3d7e81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

R/new_epipredict_steps/step_yeo_johnson.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ get_lambdas_yj_table <- function(training, col_names, limits, num_unique, na_lam
270270
mutate(across(starts_with("lambda_"), \(col) ifelse(is.na(col), na_lambda_fill, col)))
271271
}
272272

273-
## computes the new data given a lambda
273+
274+
### Code below taken from recipes::step_YeoJohnson.
275+
### https://github.com/tidymodels/recipes/blob/v1.1.1/R/YeoJohnson.R#L172
276+
274277
#' Internal Functions
275278
#'
276279
#' @keywords internal

0 commit comments

Comments
 (0)