data_raw/abalone.R

abalone = read.csv("https://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data", header = FALSE)
colnames(abalone) = c("sex", "length", "diameter", "height", "whole_weight",
                      "shucked_weight", "viscera_weight", "shell_weight",
                      "rings")
abalone = tibble::as_tibble(abalone)
usethis::use_data(abalone)
JonasMoss/univariateML documentation built on Feb. 6, 2024, 2:21 p.m.