Skip to content

Commit 878eb71

Browse files
authored
Merge pull request #25 from kenmawer/km-issue_27
Changed name to step_epi_naomit
2 parents 0eff8e6 + 54ca1f5 commit 878eb71

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export(smooth_arx_args_list)
2626
export(smooth_arx_forecaster)
2727
export(step_epi_ahead)
2828
export(step_epi_lag)
29+
export(step_epi_naomit)
2930
export(step_epi_shift)
30-
export(step_narm)
3131
import(recipes)
3232
importFrom(magrittr,"%>%")
3333
importFrom(rlang,"!!")

R/step_narm.R renamed to R/step_epi_naomit.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_narm <- function(x) {
9+
step_epi_naomit <- function(x) {
1010
x %>%
1111
recipes::step_naomit(all_predictors()) %>%
1212
recipes::step_naomit(all_outcomes(), skip = TRUE)
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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_narm(r)
19+
z1 <- step_epi_naomit(r)
2020
z2 <- r %>%
2121
step_naomit(all_predictors()) %>%
2222
step_naomit(all_outcomes(), skip = TRUE)

0 commit comments

Comments
 (0)