data-raw/ilpd.R

library("mlr3oml")

odata = OMLData$new(1480)
ilpd = odata$data
data.table::setnames(ilpd, c("age", "gender", "total_bilirubin", "direct_bilirubin", "alkaline_phosphatase",
  "alanine_transaminase", "aspartate_transaminase", "total_protein", "albumin", "albumin_globulin_ratio", "diseased"
))
levels(ilpd$diseased) = c("yes", "no")

data.table::setDF(ilpd)

usethis::use_data(ilpd, overwrite = TRUE, compress = "xz")
mlr-org/mlr3data documentation built on Nov. 10, 2024, 10:40 a.m.