10.2 Get and check the data
library(tidyverse)
library(finalfit)
boot::melanoma #F1 here for help page with data dictionary melanoma <-
glimpse(melanoma)
missing_glimpse(melanoma)
ff_glimpse(melanoma)
As was seen before, all variables are coded as numeric and some need recoding to factors. This is done below for those we are interested in.