#' We'll model the survival of lung cancer patients.
#+ results = "hide", messages = FALSE
library(tidymodels)
library(censored)
tidymodels_prefer()
data(cancer)
lung <- lung %>% drop_na()
lung_train <- lung[-c(1:5), ]
lung_test <- lung[1:5, ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.