deaths <- structure(list(ages = c(67, 69:78),
Year2017 = c(144, 102, 113, 122, 156, 110, 126, 132, 120, 172, 110),
Year2018 = c(111, 122, 109, 116, 162, 154, 115, 146, 100, 169, 146),
Year2019 = c(100, 123, 113, 151, 122, 110, 137, 175, 137, 110, 155)),
class = "data.frame", row.names = 1:11)
example <- dw_preprocess(x = deaths)
Run the code above in your browser using DataLab