View source: R/step_epi_naomit.R
step_epi_naomit | R Documentation |
Unified NA omission wrapper function for recipes
step_epi_naomit(recipe)
recipe |
Recipe to be used for omission steps |
Omits NA's from both predictors and outcomes at training time to fit the model. Also only omits associated predictors and not outcomes at prediction time due to lack of response and avoidance of data loss.
covid_case_death_rates %>%
epi_recipe() %>%
step_epi_naomit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.