Skip to content

Commit 11addec

Browse files
committed
Name replacement.
1 parent 6b7862f commit 11addec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/step_naomit2.R renamed to R/step_narm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' however, only omits predictors at prediction time
77
#' @export
88

9-
step_naomit2 <- function(x) {
9+
step_narm <- function(x) {
1010
x %>%
1111
recipes::step_naomit(all_predictors()) %>%
1212
recipes::step_naomit(all_outcomes(), skip = TRUE)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ r <- epi_recipe(x) %>%
1616
step_epi_ahead(death_rate, ahead = 7) %>%
1717
step_epi_lag(death_rate, lag = c(0,7,14))
1818

19-
z1 <- step_naomit2(r)
19+
z1 <- step_narm(r)
2020
z2 <- r %>%
2121
step_naomit(all_predictors()) %>%
2222
step_naomit(all_outcomes(), skip = TRUE)

0 commit comments

Comments
 (0)