Please find the data below using datapasta.
bc_data <-tibble::tribble(
~Clump_Thickness, ~Cell_Size_Uniformity, ~Cell_Shape_Uniformity, ~Marginal_Adhesion, ~Single_Epi_Cell_Size, ~Bare_Nuclei, ~Bland_Chromatin, ~Normal_Nucleoli, ~Mitoses, ~Class,
5, 1, 1, 1, 2, 1, 3, 1, 1, "benign",
5, 4, 4, 5, 7, 10, 3, 2, 1, "benign",
3, 1, 1, 1, 2, 2, 3, 1, 1, "benign",
6, 8, 8, 1, 3, 4, 3, 7, 1, "benign",
4, 1, 1, 3, 2, 1, 3, 1, 1, "benign",
8, 10, 10, 8, 7, 10, 9, 7, 1, "malignant",
1, 1, 1, 1, 2, 10, 3, 1, 1, "benign",
2, 1, 2, 1, 2, 1, 3, 1, 1, "benign",
2, 1, 1, 1, 2, 1, 1, 1, 5, "benign",
4, 2, 1, 1, 2, 1, 2, 1, 1, "benign",
1, 1, 1, 1, 1, 1, 3, 1, 1, "benign",
2, 1, 1, 1, 2, 1, 2, 1, 1, "benign",
5, 3, 3, 3, 2, 3, 4, 4, 1, "malignant",
1, 1, 1, 1, 2, 3, 3, 1, 1, "benign",
8, 7, 5, 10, 7, 9, 5, 5, 4, "malignant",
7, 4, 6, 4, 6, 1, 4, 3, 1, "malignant",
4, 1, 1, 1, 2, 1, 2, 1, 1, "benign",
4, 1, 1, 1, 2, 1, 3, 1, 1, "benign",
10, 7, 7, 6, 4, 10, 4, 1, 2, "malignant",
6, 1, 1, 1, 2, 1, 3, 1, 1, "benign",
7, 3, 2, 10, 5, 10, 5, 4, 4, "malignant",
10, 5, 5, 3, 6, 7, 7, 10, 1, "malignant",
3, 1, 1, 1, 2, 1, 2, 1, 1, "benign",
8, 4, 5, 1, 2, NA, 7, 3, 1, "malignant"
)
head(bc_data)
#> # A tibble: 6 x 10
#> Clump_Thickness Cell_Size_Unifo~ Cell_Shape_Unif~ Marginal_Adhesi~
#> <dbl> <dbl> <dbl> <dbl>
#> 1 5 1 1 1
#> 2 5 4 4 5
#> 3 3 1 1 1
#> 4 6 8 8 1
#> 5 4 1 1 3
#> 6 8 10 10 8
#> # ... with 6 more variables: Single_Epi_Cell_Size <dbl>,
#> # Bare_Nuclei <dbl>, Bland_Chromatin <dbl>, Normal_Nucleoli <dbl>,
#> # Mitoses <dbl>, Class <chr>